[core] Fix for missing arguments to shared_lambda (#12115)

This commit is contained in:
Clyde Stubbs
2025-11-27 09:05:45 +10:00
committed by GitHub
parent eb970cf44e
commit caaa08d678
3 changed files with 15 additions and 9 deletions

View File

@@ -16,6 +16,18 @@ binary_sensor:
platform: template
- id: left_sensor
platform: template
- platform: lvgl
id: button_checker
name: LVGL button
widget: button_button
on_state:
then:
- lvgl.checkbox.update:
id: checkbox_id
state:
checked: !lambda |-
auto y = x; // block inlining of one line return
return y;
lvgl:
log_level: debug