I have a bit of a race condition with these automation rules:
- If any internal lights are turned on while we are both away, send a text message to use that someone in is the house
- If the garage door opens, turn on the kitchen lights
The 2) rule triggers 1) because when we arrive home our phones haven’t yet registered us as being home when the garage door opens.
I wonder if there is a delay for checking the condition so that 1) becomes:
- If any internal lights are turned on[color=#FF0000], wait a minute then check if[/color] we are both away, send a text message that someone in is the house
The only other idea I has was to change 2) so that it is:
2) If the garage door opens, [color=#FF0000]wait a minute then [/color]turn on the kitchen lights
But that may not turn on the light until we are already in the house. And it doesn’t look like a script will solve this problem.
Any other ideas?