mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 08:14:04 +02:00
skip if no eids
This commit is contained in:
parent
25d77cebbc
commit
d07ca3da84
1 changed files with 2 additions and 1 deletions
|
|
@ -2040,7 +2040,8 @@ class AdaptiveLightingManager:
|
|||
skipped.append(entity_id)
|
||||
else:
|
||||
filtered_entity_ids.append(entity_id)
|
||||
|
||||
if not filtered_entity_ids:
|
||||
continue
|
||||
if not has_intercepted:
|
||||
await self._service_interceptor_turn_on_single_light_handler(
|
||||
filtered_entity_ids,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue