Merge pull request #110 from basnijholt/dev

add one more _LOGGER line
This commit is contained in:
Clayton Nummer 2020-09-04 12:44:31 -04:00 committed by GitHub
commit d0e195f04b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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