From 29ce84b27cff9b6a07ec7f37e4eb44511913dc45 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 10 Aug 2023 13:19:23 -0700 Subject: [PATCH] add log --- custom_components/adaptive_lighting/switch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index ad23253c..eb005ef2 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -2259,6 +2259,8 @@ class AdaptiveLightingManager: elif state == STATE_OFF: # is turning on on(eid, event) + _LOGGER.debug("end of turn_on_off_event_listener()") + async def state_changed_event_listener(self, event: Event) -> None: """Track 'state_changed' events.""" entity_id = event.data.get(ATTR_ENTITY_ID, "")