mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
Update switch.py
This commit is contained in:
parent
836e2922a6
commit
a2a1c45744
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ from homeassistant.helpers.event import track_state_change
|
|||
from homeassistant.helpers.restore_state import RestoreEntity
|
||||
from homeassistant.components.light import (
|
||||
is_on, ATTR_BRIGHTNESS, ATTR_COLOR_TEMP, ATTR_RGB_COLOR, ATTR_TRANSITION,
|
||||
VALID_TRANSITION, ATTR_WHITE_VALUE, ATTR_XY_COLOR, DOMAIN as LIGHT_DOMAIN
|
||||
VALID_TRANSITION, ATTR_WHITE_VALUE, ATTR_XY_COLOR, DOMAIN as LIGHT_DOMAIN)
|
||||
|
||||
try:
|
||||
from homeassistant.components.switch import SwitchEntity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue