mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
Update SwitchDevice to SwitchEntity
This commit is contained in:
parent
eaa5c0e3dd
commit
d7c27cd107
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
return False
|
||||
|
||||
|
||||
class CircadianSwitch(SwitchDevice, RestoreEntity):
|
||||
class CircadianSwitch(SwitchEntity, RestoreEntity):
|
||||
"""Representation of a Circadian Lighting switch."""
|
||||
|
||||
def __init__(self, hass, cl, name, lights_ct, lights_rgb, lights_xy, lights_brightness,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue