Add rgbct and color_temperature light platforms (#2138)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
Jesse Hills
2021-08-10 21:28:56 +12:00
committed by GitHub
parent 854f4a8896
commit d258e06fd7
14 changed files with 254 additions and 4 deletions
+1 -1
View File
@@ -3,6 +3,7 @@ import esphome.config_validation as cv
from esphome.components import light, output
from esphome.const import (
CONF_BLUE,
CONF_CONSTANT_BRIGHTNESS,
CONF_GREEN,
CONF_RED,
CONF_OUTPUT_ID,
@@ -15,7 +16,6 @@ from esphome.const import (
rgbww_ns = cg.esphome_ns.namespace("rgbww")
RGBWWLightOutput = rgbww_ns.class_("RGBWWLightOutput", light.LightOutput)
CONF_CONSTANT_BRIGHTNESS = "constant_brightness"
CONF_COLOR_INTERLOCK = "color_interlock"
CONFIG_SCHEMA = cv.All(