[lvgl] Implement rotation directly (#14955)

This commit is contained in:
Clyde Stubbs
2026-04-07 08:46:42 +10:00
committed by GitHub
parent 2b5ee69eb2
commit ce0d360790
7 changed files with 189 additions and 53 deletions
+9 -2
View File
@@ -30,12 +30,19 @@ binary_sensor:
return y;
lvgl:
id: lvgl_id
rotation: 90
log_level: debug
resume_on_input: true
on_pause:
logger.log: LVGL is Paused
- logger.log: LVGL is Paused
- lvgl.display.set_rotation: 90
on_resume:
logger.log: LVGL has resumed
- logger.log: LVGL has resumed
- lvgl.display.set_rotation:
rotation: 0
lvgl_id: lvgl_id
on_boot:
- logger.log: LVGL has started
- lvgl.indicator.update: