mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[lvgl] Fix text component (#7563)
This commit is contained in:
@@ -135,3 +135,9 @@ wifi:
|
||||
time:
|
||||
platform: sntp
|
||||
id: time_id
|
||||
|
||||
text:
|
||||
- id: lvgl_text
|
||||
platform: lvgl
|
||||
widget: hello_label
|
||||
mode: text
|
||||
|
@@ -151,6 +151,10 @@ lvgl:
|
||||
align: center
|
||||
text_font: montserrat_40
|
||||
border_post: true
|
||||
on_press:
|
||||
lvgl.label.update:
|
||||
id: hello_label
|
||||
text: Goodbye
|
||||
on_click:
|
||||
then:
|
||||
- lvgl.animimg.stop: anim_img
|
||||
|
Reference in New Issue
Block a user