Spotify Lovelace Card

type: 'custom:spotify-card'

is the correct way to include it manually

Thanks FL550,
Unfortunately, I still get this error:

Can you please open the developer console of your browser and look for any errors related to spotify-card?

Did you add it as a resource to lovelace in config?

Attached is the top section from the output of my browser console:

There are many subsequent errors.

I am using the Brave Broswer, but Chrome still gives me the same result.

Yes Niklas

The first line shows HA is not able to find the spotify-card.

Can you please post the complete url from the developer console, which is shortened by periods?

And please have a look, if the file www/community/spotify-card/spotify-cards.js exists in your HA config folder.

I spotted a typo in my path, where I had used an underscore instead of a dash. I had www/community/spotify_card/spotify-card.js

The card now appears in Lovelace.

Thank you for your help and my apologies for being a goose!

Hi, do you have an update for me? Or does it still needs to be fixed?

Sorry for letting you wait so long. I am currently busy working to restructure the code base. After this is finished I will focus on your issue. I think this will be done in two days from now.

1 Like

In the current release this is fixed!

1 Like

Any update on this issue? I got the same issue as @iudda

I just tested it on version 2.1.1 and 2.0.4

Also after the second visit to the tab where this Spotify card is on, all the other cards on all tabs will not update anymore, refreshing the browser will fix it until you visit that specific tab again.

I am not able to reproduce this on my side. Can you please have a look in the developer console of your browser and see if there are any log entrys related to the spotify-card?

No, only the log entry with the version message (SPOTIFY-CARD Version 2.1.1).

I’m running HA version 0.114.3.

I tried to remove al the other card resources, removed browser_mod, a clean Lovelace dashboard, no luck :frowning:

@iudda do you still have this issue?

Hm, I need to check this directly at your instance. Are you available for a chat, maybe over discord?

hello @fondberg it seems this custom-card creates issues with the custom button-card, the states of my lights would be stuck to on/off not allowing me to toggle them off/on. removing the spotify-card relieved this issue.

Can you link the button card you are using?

It could also be the mini media card, I removed yours and it at the same time. Let me check and and see which one causes the issue.

Button-card

Mini-media-card

Edit: Issue is definitely coming from the spotify-card, seems to be triggered the most when navigating between tabs.

I think i’ve found the issue! It is released in v2.1.2.
Please keep us informed, if this fixes your issues!

Will check tomorrow and let you know!