1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-26 15:12:21 +01:00

[lvgl] Add on_change event (#7939)

This commit is contained in:
Clyde Stubbs
2024-12-10 12:25:29 +11:00
committed by GitHub
parent 517f659da8
commit bb27eaaf1e
2 changed files with 6 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ LV_EVENT_MAP = {
"READY": "READY",
"CANCEL": "CANCEL",
"ALL_EVENTS": "ALL",
"CHANGE": "VALUE_CHANGED",
}
LV_EVENT_TRIGGERS = tuple(f"on_{x.lower()}" for x in LV_EVENT_MAP)