I’m migrating from ST and Webcore. I had this type of automation working in Webcore, but I can’t rap my head around how to do it with HA.
Basically, I want:
{% if state_attr(‘climate.my_ecobee’, ‘hvac_action’, idle) %} (if that is correct), changes to heating or cooling, then run a script, which is just an announcement.
Can someone break it down to me Barney style?
Doh! I figured it out…with the help of an example on here
trigger:
- platform: template
value_template: "{{ is_state_attr('climate.my_ecobee', 'hvac_action', 'heating')}}"
action:
- service: script.heat