A motion-triggered light can turn off after a sensor outage even though the recovered sensor reports motion.
A motion-triggered light can turn off after a sensor outage even though the recovered sensor reports motion.
A restart-mode automation waits for an on-to-off edge then delays. An unavailable-to-on recovery does not trigger the off-to-on restart, leaving the original delayed off alive.
Start the vacancy interval on a real on-to-off edge. Cancel on loss of the clear state, removal or restoration; on timeout verify the sensor is still clear with the original state-change timestamp. During deployment wait for an idle run or new motion so a valid old countdown is not lost.
An isolated installed-Core test reproduces the old false off; new tests keep lights on across recovery and turn them off once after one uninterrupted configured vacancy interval.