Here is the error I get (cut and pated from the terminal)
chris@Chris-Mac-mini cyd % esphome run cyd_lvgl.yaml
INFO ESPHome 2025.11.0
INFO Reading configuration cyd_lvgl.yaml…
ERROR Error while reading config: Invalid YAML syntax:
mapping values are not allowed here
in “cyd_lvgl.yaml”, line 151, column 16
chris@Chris-Mac-mini cyd %
This is the relevant part of the .yaml file. I am just not seeing what is wrong. I t is likely obvious, I’m just not seeing it.
BTW, ESPhome builder runs very well on a Mac Mini, the project builds so fast I can’t read the text as it scrolls. But this is only my second day working with ESP home and .yaml files.
>
> lvgl:
> pages:
> - id: main_page
> widgets: ####<<<<<<<<<< LINE 151 <<<<<<<<<<<<
> - button:
> id: button_0
> x: 10
> y: 30
> width: 70
> height: 30
> text: "Button"
> - bar:
> id: bar_1
> x: 10
> y: 80
> width: 150
> height: 20
> value: 60
> min_value: 0
> max_value: 100