dahlb/ha_carrier

Feat: Add zone “conditioning” status to entity

Opened this issue · 2 comments

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Debug log shows the API is returning a “conditioning” status for each zone. (I only have Zone1)
The status shows values such as: idle, prep_cool, active_cool, active_heat

Describe the solution you'd like

Can we get that status exposed to Home Assistant for dashboard and history?

Describe alternatives you've considered

Not sure how to parse zone data

Additional context

"status": {
"outdoor_temperature": 70.0,
"mode": "cool",
"temperature_unit": "F",
"filter_used": 30,
"is_disconnected": false,
"airflow_cfm": 525,
"outdoor_unit_operational_status": "off",
"indoor_unit_operational_status": "off",
"time_stamp": "06/04/2024, 20:13:43 CDT",
"zones": [
{
"id": "1",
"name": "ZONE 1",
"current_activity": "home",
"temperature": 76.0,
"humidity": 52,
"fan": "low",
"hold": false,
"occupancy": false,
"hold_until": null,
"heat_set_point": 68.0,
"cool_set_point": 77.0,
"conditioning": "prep_cool"
}

already supported, add a templated sensor

template:
  - sensor:
      - name: "Airflow CFM"
        unit_of_measurement: "CFM"
        state: '{{ state_attr("climate.hvac_zone_1", "airflow_cfm") }}'
      - name: "AC Status"
        state: '{{ state_attr("climate.hvac_zone_1", "outdoor_unit_operational_status") }}'
      - name: "Heating Status"
        state: '{{ state_attr("climate.hvac_zone_1", "indoor_unit_operational_status") }}'

I added those states but it’s missing the zone “conditioning’ state which is a property of the zone. This shows things like “precool’ when the smart recovery feature starts cooling before a scheduled change.