Return OFF in hvac_action for Honeywell climate (#135620)

pull/135638/head
mkmer 2025-01-14 18:15:49 -05:00 committed by GitHub
parent ecc89fd9a9
commit 6e88c6570e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class HoneywellUSThermostat(ClimateEntity):
def hvac_action(self) -> HVACAction | None:
"""Return the current running hvac operation if supported."""
if self.hvac_mode == HVACMode.OFF:
return None
return HVACAction.OFF
return HW_MODE_TO_HA_HVAC_ACTION.get(self._device.equipment_output_status)
@property

View File

@ -12,6 +12,7 @@
]),
'friendly_name': 'device1',
'humidity': None,
'hvac_action': <HVACAction.OFF: 'off'>,
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT_COOL: 'heat_cool'>,