From 617ea0f99a43b79c174d294e3446561d195f5c7a Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Tue, 16 May 2023 00:06:55 +0200 Subject: [PATCH] Fix wrong ac attribute #49 --- custom_components/hon/climate.py | 2 +- custom_components/hon/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/hon/climate.py b/custom_components/hon/climate.py index 0ad8994..7058ced 100644 --- a/custom_components/hon/climate.py +++ b/custom_components/hon/climate.py @@ -132,7 +132,7 @@ class HonClimateEntity(HonEntity, ClimateEntity): async def async_set_temperature(self, **kwargs): if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None: return False - self._device.settings["settings.selTemp"].value = temperature + self._device.settings["settings.tempSel"].value = int(temperature) await self._device.commands["settings"].send() @callback diff --git a/custom_components/hon/manifest.json b/custom_components/hon/manifest.json index ab9352c..287afc9 100644 --- a/custom_components/hon/manifest.json +++ b/custom_components/hon/manifest.json @@ -7,5 +7,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/Andre0512/hon/issues", "requirements": ["pyhOn==0.10.6"], - "version": "0.7.3" + "version": "0.8.0-beta.1" }