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:
10
common/sensor/debug.yaml
Normal file
10
common/sensor/debug.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
platform: debug
|
||||
free:
|
||||
name: "${name} Heap Free"
|
||||
fragmentation:
|
||||
name: "${name} Heap Fragmentation"
|
||||
block:
|
||||
name: "${name} Heap Max Block"
|
||||
loop_time:
|
||||
name: "${name} Loop Time"
|
||||
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
|
||||
9
common/sensor/uptime.yaml
Normal file
9
common/sensor/uptime.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
platform: uptime
|
||||
name: ${name} Uptime
|
||||
unit_of_measurement: "days"
|
||||
accuracy_decimals: 2
|
||||
update_interval: 60s
|
||||
filters:
|
||||
- lambda: return x / 86400;
|
||||
|
||||
4
common/sensor/wifi_signal.yaml
Normal file
4
common/sensor/wifi_signal.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
platform: wifi_signal
|
||||
name: "${name} WiFi Signal"
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user