mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-13 07:14:04 +02:00
unpack list entity_ids
This commit is contained in:
parent
312c594b25
commit
a2e12ae6fc
1 changed files with 3 additions and 2 deletions
|
|
@ -1716,8 +1716,9 @@ class TurnOnOffListener:
|
|||
self._name,
|
||||
entity_id,
|
||||
)
|
||||
self.mark_as_manual_control(entity_ids)
|
||||
_fire_manual_control_event(switch, entity_ids, event.context.id)
|
||||
for eid in entity_ids:
|
||||
self.mark_as_manual_control(eid)
|
||||
_fire_manual_control_event(switch, eid, event.context.id)
|
||||
|
||||
async def state_changed_event_listener(self, event: Event) -> None:
|
||||
"""Track 'state_changed' events."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue