I am new to Hubitat and i am sure i am missing something but cant seem to find answer after searching.
I have a simple requirement for logic
If motion sensor triggers while mode = away or night send push alert to iphone
The alert is being sent correctly but it sends whenever motion is detected no matter the mode. I have set condition that mode should = away or night but it shows as "Unused"
I assume i am doing something wrong?
Thanks,
I have removed the condition (not sure what these are used for?) and added a "Required Expression" of Away and Night to the trigger which gives the desired result
No, this is wrong. Only events can be in triggers. A condition is about state, while an event is an instantaneous thing. A contact opening is an event, while a contact being open is a state. Only states can be in conditions.
FYI, the "?" icon in the top of most apps will take you to the docs, or you can go to docs2.hubitat.com to browse yourself. Here's where that takes you for Rule 5.1:
That being said, the community is great, and you even got the staff member who wrote the app to help you out, so ... posting here is rarely a bad idea. Just showing you another place you can look!