From a117a3cba92fc7f5332a74777885e467e1034cc4 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Tue, 31 Dec 2024 21:52:52 +0100 Subject: [PATCH] Update homeassistant/components/climate/__init__.py Co-authored-by: Allen Porter --- homeassistant/components/climate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/climate/__init__.py b/homeassistant/components/climate/__init__.py index d248c271d83..7e05a973d1c 100644 --- a/homeassistant/components/climate/__init__.py +++ b/homeassistant/components/climate/__init__.py @@ -366,7 +366,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_): The climate's on/off state can be be controlled independently from the hvac_action and hvac_mode if the _attr_is_on attribute is set. - If the _attr_is_on attrubiute is set, then return that value. + If the _attr_is_on attribute is set, then return that value. Otherwise, return True if hvac_action is not None and not HVACAction.OFF. Return None if hvac_action is None, otherwise return True if hvac_mode is not HVACMode.OFF.