From f12407a30038964a4596e417e89a7ecc7d2045fa Mon Sep 17 00:00:00 2001 From: sgmckay25 Date: Wed, 1 Jan 2025 16:31:36 +0100 Subject: [PATCH] Update climate.py Fix error : Allowed values: ['2', '4', '5', '6', '7', '8'] But was: 0 --- custom_components/hon/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hon/climate.py b/custom_components/hon/climate.py index f3ce937..f7c1933 100644 --- a/custom_components/hon/climate.py +++ b/custom_components/hon/climate.py @@ -199,7 +199,7 @@ class HonACClimateEntity(HonEntity, ClimateEntity): self._attr_hvac_mode = hvac_mode if hvac_mode == HVACMode.OFF: await self._device.commands["stopProgram"].send() - self._device.sync_command("stopProgram", "settings") + self._device.settings["settings.onOffStatus"].value = "0" else: self._device.settings["settings.onOffStatus"].value = "1" setting = self._device.settings["settings.machMode"]