From 854d735ab3b72032d5163ad20ed5d763deff0dc2 Mon Sep 17 00:00:00 2001 From: Brandon Davidson Date: Wed, 11 Mar 2020 17:16:33 -0700 Subject: [PATCH] Allow custom lights to be addressable (#954) --- esphome/components/custom/light/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/custom/light/__init__.py b/esphome/components/custom/light/__init__.py index 24b284941e..61dd74e661 100644 --- a/esphome/components/custom/light/__init__.py +++ b/esphome/components/custom/light/__init__.py @@ -10,7 +10,7 @@ CONF_LIGHTS = 'lights' CONFIG_SCHEMA = cv.Schema({ cv.GenerateID(): cv.declare_id(CustomLightOutputConstructor), cv.Required(CONF_LAMBDA): cv.returning_lambda, - cv.Required(CONF_LIGHTS): cv.ensure_list(light.RGB_LIGHT_SCHEMA), + cv.Required(CONF_LIGHTS): cv.ensure_list(light.ADDRESSABLE_LIGHT_SCHEMA), })