Code Monkey home page Code Monkey logo

sensor.trakt's Introduction

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

Installation:

  1. Install this component by copying to your /custom_components/trakt/ 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'

Example ui-lovelace.yaml:

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

Configuration variables:

key type description
platform (Required) string trakt
id (Required) string Client ID (create new app at https://trakt.tv/oauth/applications - use device auth in redirect and uri urn:ietf:wg:oauth:2.0:oob)
secret (Required) string Client Secret (create new app at https://trakt.tv/oauth/applications - use device auth in redirect)
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.

sensor.trakt's People

Contributors

iantrich avatar fredrikbaberg avatar pinkywafer avatar playedin avatar steven-hack avatar ludeeus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.