We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a883c commit 0fac462Copy full SHA for 0fac462
custom_components/circadian_lighting/switch.py
@@ -16,7 +16,6 @@
16
ATTR_TRANSITION,
17
ATTR_XY_COLOR,
18
)
19
-from homeassistant.core import Event, EventStateChangedData
20
from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN
21
from homeassistant.components.light import VALID_TRANSITION, is_on
22
from homeassistant.components.switch import SwitchEntity
@@ -27,6 +26,7 @@
27
26
SERVICE_TURN_ON,
28
STATE_ON,
29
+from homeassistant.core import Event, EventStateChangedData
30
from homeassistant.helpers.dispatcher import async_dispatcher_connect
31
from homeassistant.helpers.event import async_track_state_change_event
32
from homeassistant.helpers.restore_state import RestoreEntity
0 commit comments