mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-05 04:18:29 +02:00
Tuya rgb support (#2278)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
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_COLOR_INTERLOCK,
|
||||
CONF_CONSTANT_BRIGHTNESS,
|
||||
CONF_GREEN,
|
||||
CONF_RED,
|
||||
@@ -16,7 +17,6 @@ from esphome.const import (
|
||||
rgbww_ns = cg.esphome_ns.namespace("rgbww")
|
||||
RGBWWLightOutput = rgbww_ns.class_("RGBWWLightOutput", light.LightOutput)
|
||||
|
||||
CONF_COLOR_INTERLOCK = "color_interlock"
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
light.RGB_LIGHT_SCHEMA.extend(
|
||||
|
||||
Reference in New Issue
Block a user