punxaphil / custom-sonos-card

Home Assistant custom lovelace sonos card
175 stars 18 forks source link

Card was there in a dashbaord, then disappeared #249

Closed atclaus closed 8 months ago

atclaus commented 8 months ago

Checklist:

Release with the issue: v6.14.3

Last working release (if known): n/a

Browser and Operating System: Firefox on PC, iOS HASS app HASS running on Raspberry Pi 4 with HASS in a docker container Core 2023.12.3 Frontend 20231208.2

Description of problem:

When downloaded this will be located in '/config/www/community/custom-sonos-card'

After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings:
                url: /hacsfiles/custom-sonos-card/custom-sonos-card.js
                type: module
lovelace:
  mode: yaml
  resources:
    - url: /webrtc/webrtc-camera.js
      type: module
    - url: /www/community/custom-sonos-card/custom-sonos-card.js
      type: module

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

Additional information:

punxaphil commented 8 months ago

I can't see that this error is because of the Sonos card. Sounds like a more generic issue with your setup. You could try with other custom cards from HACS, I'm quite sure if you get them to work this will also work.