Skip to content

custom-components/sensor.trakt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensor.trakt

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

GitHub Release GitHub Activity custom_updater License

Project Maintenance BuyMeCoffee

Discord Community Forum

Setup Trakt application on Trakt website

  1. Create new app at https://trakt.tv/oauth/applications
  2. Use the following redirect_uri:
    • With HA cloud configured: https://<cloud-remote-url>/auth/external/callback
    • Without HA cloud configured: http://<local-ip>:/auth/external/callback
  3. Save the application and then note down the client_id and client_secret

Installation in Home Assistant:

  1. Install this component by copying custom_components/trakt to your config folder (or install using hacs).
  2. Restart Home Assistant
  3. Add the Integration from the UI and setup your options

Example ui-lovelace.yaml:

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

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.