Split program and mach mode of ac #75

This commit is contained in:
Andre Basche
2023-06-21 19:52:32 +02:00
parent 78727e89cd
commit fbd1bdf5ba
23 changed files with 508 additions and 31 deletions
+2
View File
@@ -236,6 +236,8 @@ class HonNumberEntity(HonEntity, NumberEntity):
setting.value = value
command = self.entity_description.key.split(".")[0]
await self._device.commands[command].send()
if command != "settings":
self._device.sync_command(command, "settings")
await self.coordinator.async_refresh()
@callback