I realize there are similar posts to mine but I cannot figure out what I’ve done wrong. I need to switch from UI to yaml because my files are getting too long and too much to read in the little window it gives you.
for starters, I copied the “raw” config from each of my dashbaords.
I must have accidently typed over part of my yaml when I posted it. The config “lovelace:” was typed correctly
the overview comes up blank, The correct title is there but that’s it. I don’t see any errors.
When I add “dashboards:” The “YAML- floorplan” it shows in the side bar with the correct name BUT, the contents is of the overview??? how does that make sense?
I restart HA, i change the title so when it reloads I know it actually did
This is my configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
lovelace:
mode: yaml
resources:
- url: /hacsfiles/ha-floorplan/floorplan.js?hacstag=1883234941037
type: module
- url: /local/floorplan/multi_floor/thermostat.css
type: css
dashboards:
home-panel:
mode: yaml
title: YAML-Floorplan
show_in_sidebar: true
filename: floorplan.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
I have read posts until my eyes hurt and cannot figure this out!
The dashboard name shows correctly in the side bar but the title at the top is always my username and the contents of the dashboard is always all of my elements. It’s like it is ignoring the yaml file completely.
there is nothing in the logs so I’m at a loss as to what I’m doing wrong.
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
lovelace:
mode: yaml
resources:
- url: /hacsfiles/ha-floorplan/floorplan.js?hacstag=1883234941037
type: module
- url: /local/floorplan/multi_floor/thermostat.css
type: css
- url: /hacsfiles/weather-card/weather-card.js?hacstag=192732636150
type: module
dashboards:
dashboard-floorplan: # Needs to contain a hyphen (-)
mode: yaml
filename: /dashboards/floorplan.yaml
title: Floorplan
icon: mdi:tools
show_in_sidebar: true
require_admin: false
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
ugh! in a last ditch effort i edited the file location and that fixed it…so frustrating there were now logs to tell me this!
I had to include the “/config/” to get it to work