Home Assistant component to feed Upcoming Media Card with SickChill's wanted media.
- Install this component by copying these files to
custom_components/sickchill/
. - Install the card: Upcoming Media Card
- Add the code to your
configuration.yaml
using the config options below. - Add the card code to your
ui-lovelace.yaml
. - You will need to restart after installation for the component to start working.
Key | Default | Required | Description |
---|---|---|---|
token | yes | Your SickChill token (Config > General > Interface > API Key > Generate) | |
name | sickchill | no | Name of the sensor. |
host | localhost | no | The host which SickChill is running on. |
port | 8081 | no | The port which SickChill is running on. |
protocol | http | no | The HTTP protocol used by SickChill. |
sort | name | no | Parameter to sort TV Shows [date, name] |
webroot | no | WebRoot parameter if you change it in config.ini (Syntax : /newWebRoot) | |
json | true | no | Return format of this integration (json or not) |
By default this addon automatically downloads images (poster and fanart) from SickChill to your /www/custom-lovelace/sickchill/ directory.
If you change the sensor's name, the directory will changes name too. (Example : /www/custom-lovelace/[SENSOR NAME]/)
The directory is automatically created. When your show is over all posters and fanarts are removed automatically from the directory.
I made this choice because if I pick up images directly from Sickchill which use http protocol and no https (my situation and may be many others), web browser redirect http flux to https and it can't works correctly. So I decided to dowload them.
🙏 Currently I did'nt try on all operating systems and unfortunately, this function may not work on all systems.
sensor:
- platform: sickchill
token: YOUR_SICKCHILL_TOKEN
- type: custom:upcoming-media-card
entity: sensor.sickchill
title: TV Shows Wanted