CyrisXD / love-lock-card

Home Assistant Lovelace card to lock entire cards behind passwords or prompts.
MIT License
132 stars 13 forks source link

Custom element doesn't exist: hui-map-card. #27

Open jacauc opened 2 weeks ago

jacauc commented 2 weeks ago

Trying to add a map behind one of the lock cards, but I get the following message. Custom element doesn't exist: hui-map-card.

I cleared caches and refreshed resources, but to no avail.

This is my code

type: custom:love-lock-card
popup: timeout
cards:
  - type: map
    entities:
      - entity: person.user1
    hours_to_show: 24
    theme_mode: auto
    title: user1
    auto_fit: true

any ideas?

jacauc commented 1 week ago

I found a workaround to add another map card on the same page, and set the visibility filters to never display it for any users. This magically fixes the lock-card and it now loads correctly....