Fix wrong ac attribute #49
This commit is contained in:
parent
81676771c7
commit
617ea0f99a
@ -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
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user