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:
irtimaled
2021-09-26 01:34:06 -07:00
committed by GitHub
parent bdcffc7ba9
commit 7246f42a8e
9 changed files with 129 additions and 30 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_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(