[lvgl] Fix event for binary sensor (#11636)

This commit is contained in:
Clyde Stubbs
2025-11-01 16:37:07 +10:00
committed by Jesse Hills
parent 51745d1d5e
commit 2f5f1da16f
@@ -31,7 +31,7 @@ async def to_code(config):
lvgl_static.add_event_cb( lvgl_static.add_event_cb(
widget.obj, widget.obj,
await pressed_ctx.get_lambda(), await pressed_ctx.get_lambda(),
LV_EVENT.PRESSING, LV_EVENT.PRESSED,
LV_EVENT.RELEASED, LV_EVENT.RELEASED,
) )
) )