I am confused as I'm trying to understand the difference between When and And If when it is time based automation.
Trying it both seems to behave differently but I am having a hard time understanding on how it work. So I am trying to tie into my alarm system. My wife and I love going out and most of time we are gone for 2 hours or more. I do not want to keep remembering to turn on lights so it looks like someone is home. So Currently when I use When time and alarm.
When Alarm changed to Armed and If time is after 6pm turn on lights = it works
but!
When time is 6pm and if Alarm = armed it doesn't work.
What is the difference?