mirror of
https://github.com/Andre0512/hon.git
synced 2026-05-10 02:40:29 +02:00
Split program and mach mode of ac #75
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user