mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Allow custom lights to be addressable (#954)
This commit is contained in:
parent
a4ab52918b
commit
854d735ab3
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ CONF_LIGHTS = 'lights'
|
||||||
CONFIG_SCHEMA = cv.Schema({
|
CONFIG_SCHEMA = cv.Schema({
|
||||||
cv.GenerateID(): cv.declare_id(CustomLightOutputConstructor),
|
cv.GenerateID(): cv.declare_id(CustomLightOutputConstructor),
|
||||||
cv.Required(CONF_LAMBDA): cv.returning_lambda,
|
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),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue