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 GitHub
parent f9a7f00843
commit c6cbe2748e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: