I have esphome connected to HA with several sensors.
My problem is that the PIR sensor Only sends the state when it changes, if for some reason the esphome node can not contact HA when sending the off signal, the sensor stays in ON state in HA until it changes state again.
How can I solve this? I’m thinking the best is ESPHome repeat the oFF time every x time. But How?