Mark pool entities unavailable outside interval
This commit is contained in:
@@ -90,6 +90,7 @@ logger:
|
|||||||
# flash. If using web.esphome.io, just hold the BOOT button before INSTALL.
|
# flash. If using web.esphome.io, just hold the BOOT button before INSTALL.
|
||||||
deep_sleep:
|
deep_sleep:
|
||||||
id: chip_deep_sleep
|
id: chip_deep_sleep
|
||||||
|
# Keep in sync with expire_after of important sensors.
|
||||||
sleep_duration: 10min
|
sleep_duration: 10min
|
||||||
# If we couldn't send data within this interval, sleep anyway.
|
# If we couldn't send data within this interval, sleep anyway.
|
||||||
run_duration: 30s
|
run_duration: 30s
|
||||||
@@ -121,6 +122,7 @@ sensor:
|
|||||||
availability: null
|
availability: null
|
||||||
# But not in MQTT (we subscribe to this topic to know update is delivered).
|
# But not in MQTT (we subscribe to this topic to know update is delivered).
|
||||||
retain: false
|
retain: false
|
||||||
|
expire_after: 11min
|
||||||
|
|
||||||
- platform: uptime
|
- platform: uptime
|
||||||
type: seconds
|
type: seconds
|
||||||
@@ -131,6 +133,7 @@ sensor:
|
|||||||
availability: null
|
availability: null
|
||||||
# We call for update manually.
|
# We call for update manually.
|
||||||
update_interval: never
|
update_interval: never
|
||||||
|
expire_after: 11min
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
fast_connect: true
|
fast_connect: true
|
||||||
|
|||||||
Reference in New Issue
Block a user