mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 19:47:29 +01:00
have fun
This commit is contained in:
9
common/sensor/free_heap.yaml
Normal file
9
common/sensor/free_heap.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
platform: template
|
||||
name: ${name} Free heap
|
||||
lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
|
||||
icon: "mdi:memory"
|
||||
entity_category: diagnostic
|
||||
state_class: measurement
|
||||
unit_of_measurement: "b"
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user