mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
use comment when inline
This commit is contained in:
parent
8a49a6fe87
commit
3ea906ea2e
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ class CircadianSwitch(SwitchEntity, RestoreEntity):
|
|||
if lights_brightness is not None:
|
||||
self._lights.extend(lights_brightness)
|
||||
|
||||
"""Register callbacks."""
|
||||
# Register callbacks
|
||||
dispatcher_connect(hass, CIRCADIAN_LIGHTING_UPDATE_TOPIC, self.update_switch)
|
||||
track_state_change(hass, self._lights, self.light_state_changed)
|
||||
if self._sleep_entity is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue