Need Quick Advice re Automation Rule - Thanks!

Chrisan's Avatar Topic Author
User User
  • Posts: 133
  • Thanks: 0

Need Quick Advice re Automation Rule - Thanks!

1 month 1 week ago
#5096
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 or Create an account to join the conversation.

Nillaz's Avatar
User User
  • Posts: 444
  • Thanks: 36

Re: Need Quick Advice re Automation Rule - Thanks!

1 month 1 week ago
#5097
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 or Create an account to join the conversation.

Chrisan's Avatar Topic Author
User User
  • Posts: 133
  • Thanks: 0

Re: Need Quick Advice re Automation Rule - Thanks!

1 month 1 week ago
#5098
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 or Create an account to join the conversation.

Time to create page: 0.301 seconds