From 28b4b5407b5ecefeaaf6b08a068974a8289f9931 Mon Sep 17 00:00:00 2001 From: Paul Owen Date: Thu, 16 Sep 2021 12:57:42 +0100 Subject: [PATCH] Fix return value of preset_mode in hive climate (#56247) --- homeassistant/components/hive/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index 7639a07c82a..80a6bb0941e 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -194,7 +194,7 @@ class HiveClimateEntity(HiveEntity, ClimateEntity): """Return the current preset mode, e.g., home, away, temp.""" if self.device["status"]["boost"] == "ON": return PRESET_BOOST - return None + return PRESET_NONE @property def preset_modes(self):