mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Set the wrapped single light in light partition to internal (#3092)
This commit is contained in:
parent
76a238912b
commit
46af4cad6e
1 changed files with 0 additions and 1 deletions
|
@ -104,7 +104,6 @@ async def to_code(config):
|
||||||
)
|
)
|
||||||
light_state = cg.new_Pvariable(conf[CONF_LIGHT_ID], "", wrapper)
|
light_state = cg.new_Pvariable(conf[CONF_LIGHT_ID], "", wrapper)
|
||||||
await cg.register_component(light_state, conf)
|
await cg.register_component(light_state, conf)
|
||||||
cg.add(cg.App.register_light(light_state))
|
|
||||||
segments.append(AddressableSegment(light_state, 0, 1, False))
|
segments.append(AddressableSegment(light_state, 0, 1, False))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue