Hi,
It is known that template binary sensors are unavailable during HA startup. I think that in my setup it is the case for ALL binary sensors (is it only me or not ?), and that’s a real problem when I graph them using grafana because for example using a window sensor, it marks a change of state of my window at each reboot of HA…
So 1°) Is there a way to avoid this by “pausing” influxdb or grafana until all sensors are ok ?
Or 2°) Can we modify the query so that it only counts changes of states not linked to a reboot ?
Or 3°) Is it possible to delete all entries in influxdb that coincide with a startup and how ?
Solution here: