mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 00:04:05 +02:00
add comment
This commit is contained in:
parent
d07ca3da84
commit
60c8c6df72
1 changed files with 2 additions and 1 deletions
|
|
@ -2019,11 +2019,12 @@ class AdaptiveLightingManager:
|
|||
# Needs to make the original call but without adaptation
|
||||
skipped.append(entity_id)
|
||||
|
||||
has_intercepted = False
|
||||
transition = data[CONF_PARAMS].get(
|
||||
ATTR_TRANSITION,
|
||||
adaptive_switch.initial_transition,
|
||||
)
|
||||
|
||||
has_intercepted = False # Can only intercept a turn_on call once
|
||||
for adaptive_switch, entity_ids in switches.items():
|
||||
if not adaptive_switch.is_on:
|
||||
skipped.extend(entity_ids)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue