Skip to content

ndwalters/sensor.radarr_upcoming_media

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radarr Upcoming Media Component

This has been forked from the original sensor.radarr_upcoming_media by maykar.

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.

With Thanks to:

maykar

Installation in HACS (Custom Repositories):

  1. Select HACS in Home Assistant
  2. Go to any of the sections (integrations, frontend, automation).
  3. Click on the 3 dots in the top right corner.
  4. Select "Custom repositories"
  5. Add the URL "https://github.com/ndwalters/sensor.radarr_upcoming_media"
  6. Select the category "integrations".
  7. Click the "ADD" button.
  8. You will need to restart after installation for the component to start working.

Manual Installation:

  1. Install this component by copying these files to /custom_components/radarr_upcoming_media/.
  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: 127.0.0.1
    port: 7878
    days: 14
    ssl: false
    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

About

🎬 Radarr component to feed Upcoming Media Card.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%