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

Sonarr gives "undefined" is not valid JSON error #1

Open
brianlic-msft opened this issue Apr 8, 2023 · 2 comments
Open

Sonarr gives "undefined" is not valid JSON error #1

brianlic-msft opened this issue Apr 8, 2023 · 2 comments

Comments

@brianlic-msft
Copy link

Describe the bug:

When I try to add sensor.sonarr.upcoming.media as the entity, it gives me a "undefined" is not valid JSON.

Config YAML:

type: custom:upcoming-media-card
entity: sensor.sonarr_upcoming

Components:

It works fine with the Plex recently added component in the same dashboard.

HA Error:

"undefined" is not valid JSON

Troubleshooting Guide:

Home Assistant Version:

2023.4.1

Screenshots:

Additional Context:

@Phyxsius7
Copy link

I am experiencing the same issue
I have the following in my HA

  1. installed "Upcoming Media Card" via HACS
  2. followed the instruction from the following page, at that page step 4 was not possible
    https://github.com/custom-components/sensor.sonarr_upcoming_media/tree/master#manual-configuration-steps
  3. added the following folders and files to homeassistant/www
    custom-lovelace/upcoming-media-card/upcoming-media-card.js
  4. Add the following to settings > Dashboards > Resources (top left menu)
    url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.1
    resource type: javascript module
  5. added card with the following YAML
title: TV
type: custom:upcoming-media-card
entity: sensor.sonarr_upcoming
image_style: fanart
collapse: flag=true
sort_by: number
enable_tooltips: true

at this point I get the error in the card
"undefined" is not valid JSON.

@mkanet
Copy link

mkanet commented Oct 4, 2024

You posted in the wrong repo. This repo hasn't been updated In years. Good thing I checked here.
You need to make sure you open your issue at the offical original repos. For example:
https://github.com/custom-components/sensor.sonarr_upcoming_media

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

3 participants