Hi all - love the great work of the HA team as always and very excited about the possibility to add new dashboards to the sidebar as of 0.107. But for the life of me, I can’t make it work. I have always used yaml
mode for my Lovelace config.
I can define new dashboards, and I see the corresponding icon in the sidebar. But irrespective of how I configure them, I just get one page called “Home” with every entity shown (looks a bit like the default page for a new HA build, before doing any specific Lovelace config).
Here’s what I’ve got:
In configuration.yaml
:
...
lovelace:
mode: yaml
resources: !include ui-resources.yaml
dashboards:
Lovelace-garbage:
mode: yaml
filename: garbage.yaml # this one does not exist, but still shows up
title: garbage
icon: mdi:delete
show_in_sidebar: true
lovelace-servers:
mode: yaml
filename: lovelace-dashboards/servers.yaml # this one does exist, config below
title: Servers
icon: mdi:server-network
show_in_sidebar: true
...
The lovelace-garbage
dashboard is just me stuffing around trying to figure this out. I get the same result whether I include it or not. The garbage dashboard shows up in the sidebar if I include it, but it too shows the same default Home / all entities page.
My main Lovelace config is configured in ui-lovelace.yaml
, as it always has been:
title: Home
views: !include_dir_list lovelace/
Each Lovelace view
is a separate yaml file in the lovelace
directory - this is not new.
Now I’ve started a new lovelace-dashboards
directory, into which I intend to drop config files for each new dashboard. Right now, I’ve got just the one (servers.yaml
), with some minimal config:
title: Servers
views:
- title: Servers
icon: mdi:server-network
badges: []
cards:
- type: entities
entities:
- entity: sensor.mars_core_0_temp
As above, the servers
dashboard just gives me the default Home / all entities page, irrespective of how servers.yaml
is configured.
I just can’t see what I’m doing wrong, nor can I find any clues in the docs. Any help greatly appreciated!