add one more _LOGGER line

This commit is contained in:
Bas Nijholt 2020-09-04 18:34:20 +02:00
commit 9074b9fe71

View file

@ -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