mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 03:58:41 +00:00
[ld2420] Fix select options wrapped in extra list (#15524)
This commit is contained in:
@@ -28,7 +28,7 @@ async def to_code(config):
|
||||
if operating_mode_config := config.get(CONF_OPERATING_MODE):
|
||||
sel = await select.new_select(
|
||||
operating_mode_config,
|
||||
options=[CONF_SELECTS],
|
||||
options=CONF_SELECTS,
|
||||
)
|
||||
await cg.register_parented(sel, config[CONF_LD2420_ID])
|
||||
cg.add(LD2420_component.set_operating_mode_select(sel))
|
||||
|
||||
Reference in New Issue
Block a user