mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
log fixes
This commit is contained in:
parent
2f1531c692
commit
5f7e8af03d
1 changed files with 0 additions and 2 deletions
|
|
@ -520,7 +520,6 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
_LOGGER.debug(
|
||||
"%s: Detected an 'off' → 'on' event for '%s'", self._name, entity_id
|
||||
)
|
||||
_LOGGER.error(f"_turn_off_on_event: {event.context}, {entity_id}")
|
||||
if await self._maybe_cancel_adjusting(entity_id, now_ts, event):
|
||||
# Stop if a rapid 'off' → 'on' → 'off' happens.
|
||||
_LOGGER.debug(
|
||||
|
|
@ -656,4 +655,3 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
)
|
||||
for eid in entity_id:
|
||||
self._turn_on_event[eid] = event.context.id
|
||||
_LOGGER.error(f"_turn_on_event: {event.context}, {entity_id}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue