Have a look at the automation debugger. Does the trigger fire? Is the condition met?
Or at the group monitor. Is a telegram to that GA received? Is the payload 0 ?
that’s a list of integers (since it isn’t DPT 1,2,3).
Use value_template: "{{ trigger.payload[0] == 0 }}"
Or even easier - since you have project data value_template: "{{ trigger.value == 0 }}"
Wow! Thanks it seems to work now! All I was missing was “[0]”!
now if I want button 1 as condition I use
{{ trigger.payload[0] == 0 }}
and for button 2
{{ trigger.payload[0] == 1 }}
Can´t thank you enough!
Have to play around a little bit with
value_template: "{{ trigger.value == 0 }}
and see if I can figure it out.
Another thing, in your example video you skip the middle section (And if)) and go straight to (Then do) where you put your condition and action. May I ask why? It seems counterintuitive to put the condition together with the action…
Because I wanted to have different actions for different payloads.
When the condition (And If) part isn’t met, the automation wouldn’t be executed further.