Closed fanqyxl closed 1 month ago
Make sure it looks like this:
lovelace:
mode: "storage"
resources:
- url: "/hacsfiles/button-card/button-card.js"
type: "module"
- url: "/hacsfiles/my-cards/my-cards.js"
type: "module"
- url: "/hacsfiles/Bubble-Card/bubble-card.js"
type: "module"
- url: "/hacsfiles/mini-graph-card/mini-graph-card-bundle.js"
type: "module"
- url: "/hacsfiles/lovelace-mushroom/mushroom.js"
type: "module"
- url: "/hacsfiles/kiosk-mode/kiosk-mode.js"
type: module
- url: "/hacsfiles/decluttering-card/decluttering-card.js"
type: module
- url: "https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900"
type: css
dashboards:
mini-hass:
mode: "yaml"
title: HaCasa
icon: fapro:house
show_in_sidebar: true
filename: "dashboard/HaCasa/main.yaml"
I can confirm the same issue but this fixed it: Changing the original dashboard name frome HaCasa: to mini-hass:
Now configuration is checked successfully
@mariosemes that is weird! I was almost certain I changed it all to HaCasa. Can you tell me where you changed this exactly?
I had the same issue, but changed the name in configuration.yaml:
dashboards: mini-hass: mode: "yaml" title: HaCasa icon: fapro:house show_in_sidebar: true filename: "dashboard/HaCasa/main.yaml"
Can confirm, issue is still available. Changing to "mini-hass" fixed the problem.
lovelace:
mode: "storage"
resources:
- url: "/hacsfiles/button-card/button-card.js"
type: "module"
- url: "/hacsfiles/my-cards/my-cards.js"
type: "module"
- url: "/hacsfiles/kiosk-mode/kiosk-mode.js"
type: module
dashboards:
mini-hass: # Change this line from `HaCasa` -> `mini-hass`
mode: "yaml"
title: HaCasa
icon: mdi:script
show_in_sidebar: true
filename: "dashboard/HaCasa/main.yaml"
So I made a small mistake, because mini-hass is wrong. The name works because it has a hyphen which I guess is mandatory since some HA version. So you could change it to hacasa-dashboard but mini-hass will still work. I've updated the docs.
So I am going through the config.yaml documentation and I am pasting this:
`lovelace: mode: "storage" resources:
But I get this error:
Configuration errors Invalid config for 'lovelace' at configuration.yaml, line 26: Url path needs to contain a hyphen (-) for dictionary value 'lovelace->dashboards', got {'HaCasa': {'mode': 'yaml', 'title': 'HaCasa', 'icon': 'mdi:script', 'show_in_sidebar': True, 'filename': 'dashboard/HaCasa/main.yaml'}}
I am pasting as is with no changes.
Help?