thomasloven / lovelace-layout-card

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

No option for "Masonry (layout-card)" #167

Closed markrennie71 closed 2 years ago

markrennie71 commented 2 years ago

My Home Assistant version: 2021.11.1

Layout-card version : 2.3.1

What I am doing: trying to use the card What I expected to happen: show "Masonry (layout-card)" What happened instead: doesn't show Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error

# End of code

Error messages from the browser console:


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

The option did show, then suddenly didn't, so I upgraded Ha and reinstalled this card. Same, no option. Then rebooted and then uninstalled and still the same.

georgo commented 2 years ago

Looks like you didn't attached javascript to your ui. Add following to your configuration.yaml:

lovelace:
  mode: yaml
  resources:
    - url: /hacsfiles/lovelace-layout-card/layout-card.js
      type: module
thomasloven commented 2 years ago

Please provide all related output from the browser console.