Honeywell T6 Pro Thermostat - Access STATES

I have a Honeywell T6 Pro zwave thermostat installed in a HUBITAT controller. I would like to set up an automation that triggers when the AC System is in the cooling mode. In HUBITAT I can see the state * thermostatOperatingState :cooling.

I cannot find a way to automate a device to trigger when the AC goes into cooling mode - using HUBITAT automation rules, HOME ASSISTANT automation rules or NODE RED.

Any ideas how to “access” the thermostat STATE * thermostatOperatingState :cooling?

Thanks for any assistance!

After posting the above - I continued to search for a solution and “stumbled” onto RULE MACHINE in HUBITAT. This allows me to select the Thermostat and the operating state as a TRIGGER.

That data should be in an attribute of the climate entity called hvac_action

I use three Honeywell T6 Pro in my house. I use Floorplan and it all works great.

I created a sensor in the sensor.yaml to get this attribute.

this is the current action or state as you called it.

- platform: template
  sensors:
    thermostat_first_action:
      friendly_name: "First hvac status"
      value_template: >-
        {% if states("climate.first_floor_thermostat","") != "off" -%}
          {{ state_attr('climate.first_floor_thermostat', 'hvac_action') }}
        {%- else -%}
          --
        {%- endif %}
- platform: template
  sensors:
    thermostat_first_tempsetting:
      friendly_name: "First temp setting"
      value_template: >-
        {% if states("climate.first_floor_thermostat","") != "off" -%}
          {{state_attr('climate.first_floor_thermostat', 'temperature') | int(0) }}
        {%- else -%}
          00
        {%- endif %}
      unit_of_measurement: "°F"

I access the “sensor” i created this way. and use this to set the value in my floorplan.

            - entity: sensor.thermostat_first_tempsetting
              state_action:
                - service: floorplan.text_set
                  service_data: >-
                    ${entity.state != "unavailable" ? Math.round(entity.state)
                    :"?"}

these are the available attributes. go to developer tools then states and you’ll see.

I use it like this.
The ring turns blue when cooling and red when heating. I display the mode, Actual temp, Temp setting, Humidity and the current status.