Home assistant - sensor.radarr_upcoming_media not working

I have done the following

  1. Install this component by copying to your /custom_components/sensor/ folder. - DONE

  2. Install the card: Upcoming Media Card - DONE

  3. Add the code to your configuration.yaml using the config options below.
    This is in my sensor.yaml file

    • platform: radarr_upcoming_media
      api_key: 51668b38c48e45e7a0e072912f2e5xxx
      host: 192.168.1.189
      port: 8310
      days: 365
      ssl: false
  4. Add the code for the card to your ui-lovelace.yaml .
    lovelace config:

    • break
    • type: custom:upcoming-media-card
      entity: sensor.radarr_upcoming_media
    • break
    • type: custom:upcoming-media-card
      entity: sensor.sonarr_upcoming_media
  5. You will need to restart after installation for the component to start working.
    DONE

however, the sensor in /dev-state/ is not displaying any media from radarr, it does say Online in the middle, then []. sonarr is working just fine

i do indeed have movies that aren’t out yet that are in the wanted section

this is the error im getting http://192.168.1.214:8123/local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.2:19:45 Uncaught TypeError: Cannot read property ‘icon’ of undefined

i can also go to http://192.168.1.214:8123/local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.2 on my local network to confirm theres an updated version of the media card

Radarr is normally port 7878… did you change it?

No, thats how it was when it was setup, seems to be working fine when i navigate to http://192.168.1.189:8310/wanted/missing

I’ve responded to your github issue, but just in case others find this post.

Please, follow the steps in the troubleshooting guide before posting issues on the forum or github page and report what you’ve found.

already tried all those things

conversation continued here:

https://github.com/custom-cards/upcoming-media-card/issues/20