mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
Set the wrapped single light in light partition to internal (#3092)
This commit is contained in:
parent
f9a7f00843
commit
c6cbe2748e
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