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