Multiple triggers for a rule

I would like to create a rule to open my garage door between 7:40 am through 8:05 am Monday through Friday when I open my back door contact sensor. I need al of these conditions to be met in order to open the garage door. Is this possible?

i was too fast missing end-if at end.. but you get the idea

you should change the title also, there is only one trigger not multiple.. the others are conditions..

2 Likes

What took you so long?!

:wink:

3 Likes


Will this work?

2 Likes

Yup. One suggestion (also made earlier by @kahn-hubitat), end your Actions with a "END-IF". It doesn't matter so much for this rule, but may in the future if you make rules with nested IF blocks.

3 Likes

I canā€™t find where to add END-IF. Maybe Iā€™ve gone stupid. Smart homes apparently are not for stupid people.

It should be added as the last statement of the actions portion of your rule.

Hereā€™s the relevant part of the rule 4.0 documentation:

https://docs.hubitat.com/index.php?title=Rule-4.0#IF-THEN-ELSE

Thanks for the help. I've fixed that rule. Also, is there a way to close the garage door when my phone disconnects from my Wi-Fi connection since it is listed as a device. I would like to use that instead of gps geofencing.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.