Currently there’s no direct way to trigger on a state attribute of an entity. You either have to make a template sensor that grabs the state attribute you want (or use the
attributes custom integration that creates sensors based on a certain attribute in entities you define) and use it in a
state trigger, or use a
template trigger. Something like this would be nice:
trigger: - platform: attribute entity_id: climate.thermostat attribute: hvac_action to: 'cooling'
As much as I actually enjoy templating, this would still be useful.