mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[lvgl] Add on_change
event (#7939)
This commit is contained in:
@@ -165,6 +165,11 @@ lvgl:
|
||||
- Nov
|
||||
- Dec
|
||||
selected_index: 1
|
||||
on_change:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Roller changed = %d: %s"
|
||||
args: [x, text.c_str()]
|
||||
on_value:
|
||||
then:
|
||||
- logger.log:
|
||||
|
Reference in New Issue
Block a user