From 4c44f6df5c2ac88e1fa8ec7967e543a44e5d08c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=82olepszy?= Date: Mon, 29 Sep 2025 13:14:12 +0200 Subject: [PATCH] Fix error message appearing when turning off AC unit. --- 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 81774c2..c0f7fc8 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"]