Home Assistant component to feed Upcoming Media Card with Couchpotato's recently downloaded media, and wanted media.
- Install this component by copying these files to
custom_components/couchpotato/
. - 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 |
---|---|---|---|
name | coachpotato | no | Name of the sensor. |
token | yes | Your CouchPotato token (Find your CouchPotato token) | |
host | localhost | no | The host which CouchPotato is running on. |
port | 5050 | no | The port which CouchPotato is running on. |
protocol | http | no | The HTTP protocol used by CouchPotato. |
max | 10 | no | Max number of items to show in sensor. |
state | active | no | Defines the state of movies that you want to follow [active or done] |
sort | name | no | Parameter to sort your movies [name or date] |
sensor:
- platform: couchpotato
token: YOUR_COUCHPOTATO_TOKEN
- type: custom:upcoming-media-card
entity: sensor.couchpotato
title: Wanted movies
- platform: couchpotato
name: Wanted movies
token: !secret token
host: !secret host
port: 5050
protocol: 'http'
state: 'active'
- platform: couchpotato
name: Downloaded movies
token: !secret token
host: !secret host
port: 5050
protocol: 'http'
state: 'done'