mirror of
https://github.com/esphome/esphome.git
synced 2025-11-10 20:05:48 +00:00
[lvgl] Fix event for binary sensor (#11636)
This commit is contained in:
@@ -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,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user