mirror of
https://github.com/esphome/esphome.git
synced 2025-09-11 15:52:20 +01:00
EntityBase
Name can stay in flash. (#4594)
* `EntityBase`can stay in flash. * Trying to please the CI. --------- Co-authored-by: Your Name <you@example.com>
This commit is contained in:
@@ -102,7 +102,7 @@ async def to_code(config):
|
||||
conf[CONF_ADDRESSABLE_LIGHT_ID],
|
||||
await cg.get_variable(conf[CONF_SINGLE_LIGHT_ID]),
|
||||
)
|
||||
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)
|
||||
segments.append(AddressableSegment(light_state, 0, 1, False))
|
||||
|
||||
|
Reference in New Issue
Block a user