This condition always evaluates the “else” branch, and I don’t know why. The first condition, which returns “false” is disabled (enabled:false). In my opinion, only the second condition (which returns true) should be evalutated. What am I missing?
if:
- condition: template
value_template: '{{ false }}'
enabled: false
- condition: template
value_template: '{{ true }}'
then:
- event: kusi
event_data:
state: spotify playing, stop now
else:
- event: kusi
event_data:
state: nothings playing, play Mettmenstetten now
enabled: true
If I completely delete the disabled first condition, everything works fine (took me an hour to figure that out :/)
PS: for reference, I am evaluating the result in Node Red where I attach a listener to the event and observe its payload