[ld2420] Fix select options wrapped in extra list (#15524)

This commit is contained in:
Jonathan Swoboda
2026-04-07 10:57:26 -10:00
committed by GitHub
parent 9d396cea5a
commit 186525e77d
+1 -1
View File
@@ -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))