Need Quick Advice re Automation Rule - Thanks!

More
6 days 16 hours ago #5096 by Chrisan
My first automation rule with "AND" isn't working.  Both of the conditions are true so I'm suspecting something is wrong with my syntax.  Any help appreciated.
ChrisWHEN: {{irrigation_active_zone_1_status}} iseq off AND: {{irrigation_manual_zone_1_status}} iseq on

Please Log in to join the conversation.

More
6 days 9 hours ago #5097 by Nillaz
Assuming that the formatting is correct the syntax here looks good. It's hard to tell if spacing is correct though with the way that word/line wrapping formats things on the forum.

For the sake of clarity, the Rule side of the automation should ultimately look something like this.

WHEN:
{{irrigation_active_zone_1_status}} IsEQ off
AND:
{{irrigation_manual_zone_1_status}} IsEQ on

If this doesn't work then something is borked on the Action side of the automation.
 

Please Log in to join the conversation.

More
5 days 9 hours ago #5098 by Chrisan
Thanks nillaz for responding.   I fussed around with it a bit and it started working.   I'm not quite sure what I did.   But I will use it as a template for future automations.
Chris

Please Log in to join the conversation.

Time to create page: 0.165 seconds