mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-22 10:45:30 +00:00
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):
|
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
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue