i have a rule that I can't see to get right. It is supposed to turn on the light if someone comes up our backstairs or drives down the drive ONLY if the mode is night. I have MODE as a switch that I tell Alexa at night to turn on nightmode.
Personally I would remove the "ONLY IF(Mode is Night) from your trigger.
Then in your actions I would go.....
IF
Mode = Night
THEN
yours actions as shown.
It’s still not clear how you are getting the mode of the hub to change to night (and change to something other than night when it’s not night time) or if you even are. Assuming you are actually changing the mode of the hub to Night
If you’re having Alexa turn on a switch and the hubs’s mode is not changing then your rule and the above will not work as “Mode” is looking at the hub’s mode. But you could change the “required expression” to the switch you are turning on and off via Alexa
I have a virtual switch called night. when I am ready to go to sleep, I tell alexa to turn the night on. It changes the mode in hubitat. the code shows the night mode is false
So I am guessing that you have a rule or something that changes the hub mode to night when the virtual switch turns on?
If you going into settings/modes and active night (click on the check mark) does the rule still show false?
the mode part works great. I deleted the old rule and made a new one with REQUIRED . Rught now that seems to at least node turn all the light on every time the dog goes out! Ill try changing the mode to night and see if it triggers.
Thanks for the help!