"ui-lovelace.yaml" seems to be upside down

Hi All,

Does the following part of my ui-lovelace.yaml seem a bit backwards to you? Shouldn’t “title: xxx” come at the start of each view and not at then end? I’m really struggling to read files like this. I can’t seem to work this out or find and answer anywhere.

        title: Input boolean
        type: entities
      - entity: media_player.downstairs
        type: media-control
      - entity: media_player.upstairs
        type: media-control
      - entities:
          - scene.test
        title: Scene
        type: entities
      - entity: weather.home
        type: weather-forecast
    path: default_view
    title: Home
  - badges: []
    cards: []
    path: new-1
    title: New 1
  - badges: []
    cards: []
    path: new-2
    title: New 2
  - badges: []
    cards: []
    path: new-3
    title: New 3

so you have created this from the raw editor in the GUI is my guess?
It sorts everything alphabetically (which is why many of us hate how the gui mangles everything)
it works just as well - it only LOOKS horrible.

yes created from raw editor in gui.
I didn’t know it sorted it alphabetically, that explains it.
But I hate it!
Thanks for the quick reply.

1 Like

you tell us :wink:
that’s why many people prefer YAML Lovelace mode…

1 Like