Change path to lovelace dashboard files

can we move the dashboard file locations out of the /config directory at all? Dashboards - Home Assistant Ive tried experimenting with eg

lovelace:
  mode: yaml
  resources: !include /config/lovelace/resources.yaml
  dashboards:

    ui-settings:
      mode: yaml
      filename: ui-settings.yaml
      title: Change settings
      icon: mdi:tools

is what I have but for cleaning up the /config folder Id love tone able to do something like:

    ui-settings:
      mode: yaml
      filename: lovelace/ui-settings.yaml
      title: Change settings
      icon: mdi:tools

but get an unknown error

Yes. It is possible
Which error do you see in the logs?

as said:

Schermafbeelding 2021-12-20 om 23.23.19

log:

trying this:

lovelace:
  mode: yaml
  resources: !include /config/lovelace/resources.yaml
  dashboards:

    ui-overview:
      mode: yaml
      filename: lovelace/dashboards/ui-overview.yaml
      title: Overview
      icon: mdi:view-dashboard

    ui-settings:
      mode: yaml
      filename: lovelace/dashboards/ui-settings.yaml
      title: Change settings
      icon: mdi:tools

    ui-data:
      mode: yaml
      filename: lovelace/dashboards/ui-data.yaml
      title: Data
      icon: mdi:flash-red-eye
      require_admin: true

    ui-develop:
      mode: yaml
      filename: lovelace/dashboards/ui-develop.yaml
      title: Develop
      icon: mdi:remote-desktop
      require_admin: true

wait, I found it, its all about the relativity of the files and folders. Ive hardcoded the paths for now (so I can easily edit the files and not have to restart for the main Lovelace config change…

adding
/config/

helped :wink:
almost solved: still see a newly created Overview a top of my menu, with all items listed. I dont need that…

found that too, select my own Overview, and not the (default):

1 Like