Fix wrong ac attribute #49

This commit is contained in:
Andre Basche 2023-05-16 00:06:55 +02:00
parent 81676771c7
commit 617ea0f99a
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class HonClimateEntity(HonEntity, ClimateEntity):
async def async_set_temperature(self, **kwargs): async def async_set_temperature(self, **kwargs):
if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None: if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None:
return False return False
self._device.settings["settings.selTemp"].value = temperature self._device.settings["settings.tempSel"].value = int(temperature)
await self._device.commands["settings"].send() await self._device.commands["settings"].send()
@callback @callback

View File

@ -7,5 +7,5 @@
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Andre0512/hon/issues", "issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": ["pyhOn==0.10.6"], "requirements": ["pyhOn==0.10.6"],
"version": "0.7.3" "version": "0.8.0-beta.1"
} }