mirror of
https://github.com/Andre0512/hon.git
synced 2026-05-11 19:12:23 +02:00
Fix wrong ac attribute #49
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user