mirror of
https://github.com/Andre0512/hon.git
synced 2025-01-21 23:10:58 +00:00
Update climate.py
Fix error : Allowed values: ['2', '4', '5', '6', '7', '8'] But was: 0
This commit is contained in:
parent
70eb6c0111
commit
f12407a300
|
@ -199,7 +199,7 @@ class HonACClimateEntity(HonEntity, ClimateEntity):
|
|||
self._attr_hvac_mode = hvac_mode
|
||||
if hvac_mode == HVACMode.OFF:
|
||||
await self._device.commands["stopProgram"].send()
|
||||
self._device.sync_command("stopProgram", "settings")
|
||||
self._device.settings["settings.onOffStatus"].value = "0"
|
||||
else:
|
||||
self._device.settings["settings.onOffStatus"].value = "1"
|
||||
setting = self._device.settings["settings.machMode"]
|
||||
|
|
Loading…
Reference in a new issue