mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Allow custom lights to be addressable (#954)
This commit is contained in:
parent
a4ab52918b
commit
854d735ab3
@ -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),
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user