Automation for Climate Thermostat

I had an automation that worked however now that the hvac_mode is used it seems to be broken.

I had a condition statement that was a template and is as follows:

- condition: template
       # value_template: "{{ is_state_attr('climate.thermostat', 'hvac_mode', 'heat') }}"

This seems to always be false now and can’t figure out why. Any help would be awesome

Looking in the developer tools states menu, what are the attributes of your climate integration (far right column)?

Do you see the problem?

There is no hvac_mode attribute. It is now hvac_action. Also note that the state has changed to heating.

This was changed in one of the recent releases and is an example of why you should read the breaking changes in the release notes closely.