esphome pelmet LEDs, lounge scenes and other fixes
This commit is contained in:
@@ -8,7 +8,7 @@ substitutions:
|
||||
|
||||
# Debug helpers (loop time / heap / reset info)
|
||||
debug:
|
||||
update_interval: ${local_update_interval}
|
||||
update_interval: 5min
|
||||
|
||||
sensor:
|
||||
# Free heap via debug (replaces template-based ESP.getFreeHeap if you prefer)
|
||||
@@ -16,12 +16,22 @@ sensor:
|
||||
free:
|
||||
name: "Free Heap"
|
||||
entity_category: "diagnostic"
|
||||
disabled_by_default: true
|
||||
filters:
|
||||
- delta: 1024 # only if heap changes by ≥1 KB
|
||||
- heartbeat: 5min # but still publish every 5 min
|
||||
|
||||
|
||||
# Loop time via debug (replaces broken template loop time)
|
||||
- platform: debug
|
||||
loop_time:
|
||||
name: "Loop Time"
|
||||
disabled_by_default: true
|
||||
entity_category: "diagnostic"
|
||||
filters:
|
||||
- delta: 2 # only if loop time changes by ≥2 ms
|
||||
- heartbeat: 5min
|
||||
|
||||
|
||||
## If you’d rather keep the legacy heap sensor, uncomment below and
|
||||
## delete the debug "free" block above to avoid duplicates:
|
||||
|
||||
@@ -9,6 +9,7 @@ text_sensor:
|
||||
- platform: version
|
||||
name: "Version:"
|
||||
entity_category: "diagnostic"
|
||||
disabled_by_default: true
|
||||
|
||||
- platform: wifi_info
|
||||
ip_address:
|
||||
@@ -19,10 +20,12 @@ text_sensor:
|
||||
name: "Connected SSID"
|
||||
icon: mdi:wifi-strength-2
|
||||
entity_category: diagnostic
|
||||
disabled_by_default: true
|
||||
mac_address:
|
||||
name: "MAC Address:"
|
||||
icon: mdi:network-pos
|
||||
entity_category: diagnostic
|
||||
disabled_by_default: true
|
||||
|
||||
#####################################################################################################
|
||||
# Creates a sensor of the uptime of the device, in formatted days, hours, minutes and seconds
|
||||
|
||||
Reference in New Issue
Block a user