From 9074b9fe7185ea11621c11f578c390b146ef5594 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Fri, 4 Sep 2020 18:34:20 +0200 Subject: [PATCH] add one more _LOGGER line --- custom_components/circadian_lighting/switch.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/circadian_lighting/switch.py b/custom_components/circadian_lighting/switch.py index 9c0650f9..6887219c 100755 --- a/custom_components/circadian_lighting/switch.py +++ b/custom_components/circadian_lighting/switch.py @@ -369,6 +369,10 @@ class CircadianSwitch(SwitchEntity, RestoreEntity): if service_data.get(ATTR_BRIGHTNESS, False): service_data[ATTR_WHITE_VALUE] = service_data[ATTR_BRIGHTNESS] + _LOGGER.debug( + "Scheduling 'light.turn_on' with the following 'service_data': %s", + service_data, + ) tasks.append( self.hass.services.async_call( LIGHT_DOMAIN, SERVICE_TURN_ON, service_data