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: my-slider #2

Closed
joostvkempen opened this issue Jul 3, 2022 · 7 comments
Closed

custom element doesn't exist: my-slider #2

joostvkempen opened this issue Jul 3, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@joostvkempen
Copy link

joostvkempen commented Jul 3, 2022

Checklist:

  • [ X] I updated to the latest version available
  • [ X] I cleared the cache of my browser

Release with the issue: HA 2022.6.7 (docker version) / tv-card 0.4.0 installed from HACS

Last working release (if known): no earlier version tested

Browser and Operating System: Windows 10 / Chrome (all updated)

image

Description of problem: custom element doesn't exist: my-slider

Javascript errors shown in the web inspector (if applicable):


Additional information: also restarted HA, no difference

@joostvkempen joostvkempen added the bug Something isn't working label Jul 3, 2022
@usernein
Copy link
Owner

usernein commented Jul 4, 2022

Ohh i'm sorry, i didn't make it clear that you need to install slider-card.
It's the card that tv-card uses as slider.

You just need to add https://github.com/AnthonMS/my-cards.git as custom repository with category: Lovelace (check the detailed explanation)

@joostvkempen
Copy link
Author

Ok, tnx! So this bug can be changed to a feature request to add this to the documentation ;-)

And maybe for later on it's possible to integrate the my-slider code into the tv-card? All these cards depending on each other can make quit a mess in the configuration. I already see myself deleting the slider-card in a few months from now (what's this? don't use it? delete!) and having the same issue al over again ....

For now it is working, tnx!

@usernein
Copy link
Owner

usernein commented Jul 5, 2022

So this bug can be changed to a feature request to add this to the documentation ;-)

Definitely!

maybe for later on it's possible to integrate the my-slider code into the tv-card?

Hmm yes yes. If possible, i can bundle my-slider into the repo. If not, make another new slider card for tv-card
I can also use mushroom now since v2.0.0 brought the ability to hide everything but the controls, transforming the card into a slider

@brewston
Copy link

brewston commented Jul 6, 2022

Did you get this working @joostvkempen joostvkempen ? I've added the slider repo (and can create standalone slider cards for lights etc) but when I define :

volume_row: slider
in my remote card, nothing appears.

@usernein
Copy link
Owner

usernein commented Jul 6, 2022

@brewston can you share your card config and a screenshot of the card not rendering the slider?
Also, can you check the javascript console logs on Dev Tools? There may be a clue

@brewston
Copy link

Sorry for not following up, it started working after one of the recent updates.

@usernein
Copy link
Owner

Ahhh nice! I guess it was related to #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants