thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.04k stars 126 forks source link

2024.02.01 - Custom element doesn't exist: grid-layout #273

Open rloo1 opened 7 months ago

rloo1 commented 7 months ago

My Home Assistant version: 2024.02.1

Layout-card version (FROM BROWSER CONSOLE):

What I am doing: Fresh install of Home Assistant, tried to install layout-card

What I expected to happen: Dashboard functionality

What happened instead: Error message "Custom element doesn't exist: grid-layout" and nothing works. Seems similar to issue #258

Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error

# End of code

Error messages from the browser console: "Custom element doesn't exist: grid-layout"


By putting an X in the boxes ([X]) below, I indicate that I:

pascal-mignot-urca commented 6 months ago

Same problem here: new install in docker, new version of everything.

The layout card is completely broken due to a resource path problem: Configuration in resources.yaml:

Adding /community_plugin to the docker volumes and copying lovelace_layout inside changes nothing. Cleaning cache/restarting HA, restarting the docker container changes nothing.

The problem appears when switching from storage mode to yaml mode. hacs added: button-card, decluttering-card, kiosk-mode, swiss-army-knife-card

configuration.yaml (extract): lovelace: mode: yaml resources: !include lovelace/resources/resources.yaml

resources.yaml (extract):