Set the wrapped single light in light partition to internal (#3092)

This commit is contained in:
Plácido Revilla 2022-01-22 12:04:36 -08:00 committed by Jesse Hills
parent 76a238912b
commit 46af4cad6e

View file

@ -104,7 +104,6 @@ async def to_code(config):
)
light_state = cg.new_Pvariable(conf[CONF_LIGHT_ID], "", wrapper)
await cg.register_component(light_state, conf)
cg.add(cg.App.register_light(light_state))
segments.append(AddressableSegment(light_state, 0, 1, False))
else: