usernein / tv-card

📺 TV Remote Card (with touchpad and haptic feedback)
Apache License 2.0
107 stars 26 forks source link

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

Closed joostvkempen closed 2 years ago

joostvkempen commented 2 years ago

Checklist:

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

usernein commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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

usernein commented 2 years ago

Ahhh nice! I guess it was related to #11