mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
Return OFF in hvac_action for Honeywell climate (#135620)
This commit is contained in:
parent
ecc89fd9a9
commit
6e88c6570e
@ -294,7 +294,7 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||||||
def hvac_action(self) -> HVACAction | None:
|
def hvac_action(self) -> HVACAction | None:
|
||||||
"""Return the current running hvac operation if supported."""
|
"""Return the current running hvac operation if supported."""
|
||||||
if self.hvac_mode == HVACMode.OFF:
|
if self.hvac_mode == HVACMode.OFF:
|
||||||
return None
|
return HVACAction.OFF
|
||||||
return HW_MODE_TO_HA_HVAC_ACTION.get(self._device.equipment_output_status)
|
return HW_MODE_TO_HA_HVAC_ACTION.get(self._device.equipment_output_status)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
]),
|
]),
|
||||||
'friendly_name': 'device1',
|
'friendly_name': 'device1',
|
||||||
'humidity': None,
|
'humidity': None,
|
||||||
|
'hvac_action': <HVACAction.OFF: 'off'>,
|
||||||
'hvac_modes': list([
|
'hvac_modes': list([
|
||||||
<HVACMode.OFF: 'off'>,
|
<HVACMode.OFF: 'off'>,
|
||||||
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user