Use core constants for flux (#46201)

This commit is contained in:
tkdrob 2021-02-08 05:26:57 -05:00 committed by GitHub
parent e7ca0ff71a
commit 9b0955b67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ from homeassistant.components.light import (
from homeassistant.components.switch import DOMAIN, SwitchEntity from homeassistant.components.switch import DOMAIN, SwitchEntity
from homeassistant.const import ( from homeassistant.const import (
ATTR_ENTITY_ID, ATTR_ENTITY_ID,
CONF_BRIGHTNESS,
CONF_LIGHTS, CONF_LIGHTS,
CONF_MODE, CONF_MODE,
CONF_NAME, CONF_NAME,
@ -49,7 +50,6 @@ CONF_STOP_TIME = "stop_time"
CONF_START_CT = "start_colortemp" CONF_START_CT = "start_colortemp"
CONF_SUNSET_CT = "sunset_colortemp" CONF_SUNSET_CT = "sunset_colortemp"
CONF_STOP_CT = "stop_colortemp" CONF_STOP_CT = "stop_colortemp"
CONF_BRIGHTNESS = "brightness"
CONF_DISABLE_BRIGHTNESS_ADJUST = "disable_brightness_adjust" CONF_DISABLE_BRIGHTNESS_ADJUST = "disable_brightness_adjust"
CONF_INTERVAL = "interval" CONF_INTERVAL = "interval"