mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
commit
d0e195f04b
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue