/sensor.radarr_upcoming_media

Radarr component to feed the Upcoming Media Card for Home Assistant.

Primary LanguagePythonApache License 2.0Apache-2.0

Radarr Upcoming Media Component

Home Assistant component to feed Upcoming Media Card with Radarr's upcoming added media.
This component does not require, nor conflict with, the default Radarr component.

Buy me a coffeeIf you feel I deserve it, you can buy me a coffee


This product uses the TMDb API but is not endorsed or certified by TMDb.

If you're having issues, check out the troubleshooting guide before posting an issue or asking for help on the forums.

Installation:

  1. Install this component by copying to your /custom_components/sensor/ folder.
  2. Install the card: Upcoming Media Card
  3. Add the code to your configuration.yaml using the config options below.
  4. Add the code for the card to your ui-lovelace.yaml.
  5. You will need to restart after installation for the component to start working.

Options

key default required description
api_key yes Your Radarr API key
host localhost no The host Radarr is running on.
port 7878 no The port Radarr is running on.
urlbase / no The base URL Radarr is running under.
days 60 no How many days to look ahead for the upcoming sensor.
ssl false no Whether or not to use SSL for Radarr.
theaters true no Show or hide theater releases.
max 5 no Max number of items in sensor.

Do not just copy examples, please use config options above to build your own!

Sample for configuration.yaml:

sensor:
- platform: radarr_upcoming_media
  api_key: YOUR_API_KEY
  host: 192.168.1.4
  port: 7878
  days: 120
  ssl: true
  theaters: false
  max: 10

Sample for ui-lovelace.yaml:

- type: custom:upcoming-media-card
  entity: sensor.radarr_upcoming_media
  title: Upcoming Movies

Card Content Defaults

key default example
title $title "Night of the Living Dead"
line1 $release "In Theaters Mon, 10/31" if it's a theater release and more than a week away or "Available Monday" if it's a physical release and within a week.
line2 $genres "Action, Adventure, Comedy"
line3 $rating - $runtime "★ 9.8 - 01:30"
line4 $studio "Laurel Group Inc."
icon mdi:arrow-down-bold https://materialdesignicons.com/icon/arrow-down-bold