I have automation if no motion is detected for 12 hours then... And it works as it should. But if the Home Assistant was restarted within 12 hours, it does not work as it should. Is there any simple method to ignore such an unknown state as it is for those few minutes when HA restarts? Method without Helper - only using IF in automation.
HA restart also change sensor last_changed value so I guess I can't use that too? Or there is option to disable changing this value on HA restart?