I’ve got two time based rules:
- If it is after dawn then $timevar = “day”
- If it is after sunset then $timevar = “night”
After a restart $timevar = “day”.
I know that both rules are working. My problem, however, is that everytime I restart the Raspberry Pi after sunset the second rule isn’t working/executed/updated until I’ve opened and saved it in the rules section in pimatic. What am I doing wrong? How can I force pimatic to update all rules after a restart?