mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
Fix comment
This commit is contained in:
parent
ddd2dc59cd
commit
346b821f1e
1 changed files with 2 additions and 0 deletions
|
|
@ -1276,6 +1276,8 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
context.parent_id,
|
||||
):
|
||||
# Skip if adaptation was already executed by the service call interceptor
|
||||
# The context.parent_id is the context.id of the service call that was intercepted
|
||||
# and context.id here is from the resulting "light_event" event.
|
||||
_LOGGER.debug(
|
||||
"%s: Skipping reactive adaptation of light %s with context.id=%s and context.parent_id=%s",
|
||||
self._name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue