Skip to content

📺 Trakt component for Home Assistant and Upcoming Media Card

License

Notifications You must be signed in to change notification settings

PlayedIn/sensor.trakt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensor.trakt

Trakt component to feed Upcoming Media Card with Trakt's upcoming shows for Home Assistant

GitHub Release License

Project Maintenance GitHub Activity

Discord Community Forum

Support

Hey dude! Help me out for a couple of 🍻 or a ☕!

coffee

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.
  • If you're having issues, check out the troubleshooting guide before posting an issue or asking for help on the forums.

Example configuration.yaml:

sensor:
  platform: trakt
  id: 'sakdfjawioehrw3985728935uksdf'
  secret: 'sdfoiwahjeflkaswjefi83q7829045uoijksldf'
  username: iantrich
  days: 10
  exclude:
    'The Bachelor'

Configuration variables:

key type description
platform (Required) string trakt
id (Required) sring Client ID (create new app at https://trakt.tv/oauth/applications)
secret (Required) string Client Secret (create new app at https://trakt.tv/oauth/applications)
username (Required) string trakt.tv username
days (Optional) number How many days to look forward for movies/shows. Default 30
name (Optional) string Sensor name. Default Trakt Upcoming Calendar
exclude (Optional) array List of show titles to exclude as Trakt does not allow removal of shows from its service

Due to how custom_components are loaded, it is normal to see a ModuleNotFoundError error on first boot after adding this, to resolve it, restart Home-Assistant.

About

📺 Trakt component for Home Assistant and Upcoming Media Card

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%