From 6e88c6570ed33d75269482ae91a87bbfa7ff253b Mon Sep 17 00:00:00 2001 From: mkmer Date: Tue, 14 Jan 2025 18:15:49 -0500 Subject: [PATCH] Return OFF in hvac_action for Honeywell climate (#135620) --- homeassistant/components/honeywell/climate.py | 2 +- tests/components/honeywell/snapshots/test_climate.ambr | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 7398ada23be..1df5eb9601b 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -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 diff --git a/tests/components/honeywell/snapshots/test_climate.ambr b/tests/components/honeywell/snapshots/test_climate.ambr index f26064b335a..1e9958acb3f 100644 --- a/tests/components/honeywell/snapshots/test_climate.ambr +++ b/tests/components/honeywell/snapshots/test_climate.ambr @@ -12,6 +12,7 @@ ]), 'friendly_name': 'device1', 'humidity': None, + 'hvac_action': , 'hvac_modes': list([ , ,