Closed Tweak-NL closed 8 months ago
Try this, this works:
automation:
- alias: "Detect Burnerstate change"
trigger:
platform: state
entity_id: climate.toon_thermostat
condition:
condition: template
value_template: >
{{ trigger.from_state and
trigger.to_state.attributes.burner_info == 0 and
trigger.from_state.attributes.burner_info == 1}}
action:
service: persistent_notification.create
data:
message: Burner state changed!
title: "Thermostat Info"
Hello, maybe im just doing something wrong.. But it seems i cannot make a trigger that detects when burnerinfo changes to 0 or 1 it only works if the trigger is on "When Burner info of Toon Thermostat changes" but that is not what i need.
I am trying to switch from Domoticz to HA and currently Domoticz is turning my floor heating pump on and off with the info from Burnerinfo. So im trying to build this in HA but it is not working.
See the screenshot with the trigger that does not work.
`platform: state entity_id: