Skip to content

Conversation

@matthew-muscat
Copy link

The hvac_action method currently returns HEATING/COOLING whenever the system is on, even when units have reached their intended target temperature and stopped running. This caused the climate entity to always appear active.

I've updated this so it now checks the runningState field of active units available in the system:

  • Returns HEATING/COOLING only when units are "REQUIRED_RUNNING"
  • Returns IDLE when system is on but units are "REQUIRED_NOT_RUNNING"
  • Maintains existing OFF behavior for system/zone off states

This provides accurate heating/cooling status in Home Assistant climate entities, showing IDLE when thermostat has reached target temperature.

Previously, hvac_action would show HEATING/COOLING whenever the system
was on, even when units had reached target temperature and stopped
running. This caused the climate entity to always appear active.

Now checks the runningState field of active units:
- Returns HEATING/COOLING only when units are "REQUIRED_RUNNING" 
- Returns IDLE when system is on but units are "REQUIRED_NOT_RUNNING"
- Maintains existing OFF behavior for system/zone off states

This provides accurate heating/cooling status in Home Assistant climate
entities, showing IDLE when thermostat has reached target temperature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant