lukx / home-assistant-jukebox

Home-Assistant Radio Station and Stream Selector Card
64 stars 33 forks source link

Install problem #3

Closed Sonusss closed 4 years ago

Sonusss commented 5 years ago

I tried to install your app but got the following error. Custom element doesn't exist: jukebox-card. I guess there is a missing file....

cromatox commented 4 years ago

You have to add the following ressource object in your .storage/lovelace configuration file:

{
    "data": {
        "config": {
            "resources": [
                {
                    "type": "module",
                    "url": "/local/jukebox.js"
                }
            ], 
            ...
        }
    }
}
Sonusss commented 4 years ago

Now I got this in lovelace

You need to define your media player entities { "type": "custom:jukebox-card" }

But player are supposed to be defined in ui-lovelace.yaml

entities:
  - media_player.Cuisine
  - media_player.Salon

My media players platform is linkplay, might this be the problem ?