Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jacauc opened this issue Sep 24, 2024 · 2 comments
Open

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

jacauc opened this issue Sep 24, 2024 · 2 comments

Comments

@jacauc
Copy link

jacauc commented Sep 24, 2024

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
Copy link
Author

jacauc commented Oct 7, 2024

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....

@ThatTallGuy21
Copy link

Thanks @jacauc ! That worked for me as well. I would have never been able to figure that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants