I am hoping someone can help point me in the right direction for a rule.
I would like to put a condition on an action for a trigger that is fired when a switch is turned off by someone physically pushing the button on the switch rather than being triggered by some other trigger such as a motion timeout. Is there way to determine that?
Perhaps there is a better way to solve my use case. I have a GE motion switch (GREAT switch BTW). It's on the basement lights and most of the time it does what I want....if there is motion, then turn on the lights... and then shut them off 20 min after no motion.
HOWEVER, sometimes we want to watch a movie or I have guests sleeping down there and want to turn the lights off and not have them turn right back on as we walk away from the switch. I think a nice feature for me would be that, if I turned off the light manually, then I could change the occupancy mode to be manual for let's say 12 hours (or someone manually turns them back on). I can put the trigger on the switch off, but then it seems the rule would kick in when the lights are simply turned off by motion. I only want it to happen when someone physically turns them off.