mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-30 17:58:27 +02:00
Add rgbct and color_temperature light platforms (#2138)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user