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

TypeError: i is undefined #194

Open
3 tasks done
stefanborghys opened this issue Dec 10, 2022 · 0 comments
Open
3 tasks done

TypeError: i is undefined #194

stefanborghys opened this issue Dec 10, 2022 · 0 comments

Comments

@stefanborghys
Copy link

When adding the spotify-card i noticed following error in the Home Assistant's system logs:
2022-12-10 00:37:08.379 ERROR (MainThread) [frontend.js.latest.202211080] http://home-assistant.home:8123/local/community/spotify-card/spotify-card.js:471:14049 TypeError: i is undefined

The player also keeps loading. I'm not sure this is related.

  • Reproducable on a plain lovelace panel without card, style or theme mods
  • Using latest version of spotcast (v3.6.30) and spotify-card (v2.4.0) [x]
  • [ ] Using latest stable version of Home Assistant (2022.11.5)
  • [ ] I have Spotify Premium
  • I have setup the Spotify integration in Home Assistant

To Reproduce
Steps to reproduce the behavior:

  1. add the card to your Home Assistant ('www' folder)
  2. add the card to your UI

Expected behavior
No error in the logs.

Environment:

  • OS: macOS Monterey v12.6
  • Browser: Firefox
  • Version: [105.0.3]
  • HA version: [2022.11.5]
  • spotcast version: [v3.6.30]

Configuration

type: custom:spotify-card
account: default
playlist_type: default
limit: 10
always_play_random_song: true
country_code: BE
display_style: grid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant