Fix return value of preset_mode in hive climate (#56247)

This commit is contained in:
Paul Owen
2021-09-16 12:57:42 +01:00
committed by GitHub
parent 0438c9308c
commit 28b4b5407b

View File

@@ -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):