I have 2 lights and a motion sensor in my living room. I created a rule that when notion motion is detected for 15 minutes between 10.30pm to 3am, to turn both lights off.
Some background: we're usually in the living room so this rule is to keep the lights on if we have guests over. We used to have a rule to turn lights off at 10.30pm regardless, so this new rule created would avoid that if the house was still active. We also have a rule to turn on a living room light at sunset, so this rule (to turn off) would be helpful to turn off that light if we're away on vacation.
I was playing around with Basic Rules but for some reason the rule to turn off the lights after some time of inactivity is not working.
Here's the settings for this Basic Rule:
Let me know if you need more information.
Any idea what I could be doing wrong ?