[lvgl] Fix event for binary sensor (#11636)
This commit is contained in:
1 parent
51745d1d5e
commit
2f5f1da16f
1 file changed
+1
-1
@@ -31,7 +31,7 @@ async def to_code(config):
|
||||
lvgl_static.add_event_cb(
|
||||
widget.obj,
|
||||
await pressed_ctx.get_lambda(),
|
||||
LV_EVENT.PRESSING,
|
||||
LV_EVENT.PRESSED,
|
||||
LV_EVENT.RELEASED,
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user