mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-12 11:50:43 +08:00
fix bug
This commit is contained in:
parent
99ddf9bbc0
commit
ed76ae9cd1
@ -125,7 +125,9 @@ class LightCommandSendMode(SelectEntity, RestoreEntity):
|
||||
self.hass = hass
|
||||
self._device_id = device_id
|
||||
self._attr_name = "Command Send Mode"
|
||||
self._attr_unique_id = f"{DOMAIN}.light_{device_id}_command_send_mode"
|
||||
self.entity_id = f"select.light_{device_id}_command_send_mode"
|
||||
self._attr_unique_id = self.entity_id
|
||||
|
||||
self._attr_options = [
|
||||
"Send One by One", "Send Turn On First", "Send Together"
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user