1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 15:52:20 +01:00

[lvgl] Ensure captured lambdas are in correct order (#8560)

This commit is contained in:
Clyde Stubbs
2025-04-15 05:39:56 +10:00
committed by GitHub
parent 5908b93e82
commit 2dfcf950fa
4 changed files with 26 additions and 8 deletions

View File

@@ -297,7 +297,9 @@ async def indicator_update_to_code(config, action_id, template_arg, args):
async def set_value(w: Widget):
await set_indicator_values(w.var, w.obj, config)
return await action_to_code(widget, set_value, action_id, template_arg, args)
return await action_to_code(
widget, set_value, action_id, template_arg, args, config
)
async def set_indicator_values(meter, indicator, config):