dylandoamaral / trakt-integration

A Trakt integration for Home Assistant compatible with upcoming media card
MIT License
32 stars 13 forks source link

No sensors has been created #2 #60

Closed rzechu closed 1 year ago

rzechu commented 1 year ago

Any ideas about missing (not added) sensors or upcoming-media-card configuration? No info about movies only upcoming show

Got only 1 default entity (reinstalled trakt integration) image

image

image

Got working only 1 entity and 1 card

resources:
  - url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.1
    type: js
type: custom:upcoming-media-card
entity: sensor.trakt_upcoming_calendar
title: Upcoming Episodes
image_style: fanart
hide_empty: true
title_text: $title
line1_text: $episode
line2_text: $number
line3_text: $day, $date $time
line4_text: $empty
max: 10

image

My configuration.yaml

trakt_tv:
  language: en
  timezone: Europe/Paris # Prefered timezone #added this but no difference
  sensors:
    upcoming:
      show:
        days_to_fetch: 30
        max_medias: 10
      movie:
        days_to_fetch: 45
        max_medias: 5
    recommendation:
      show:
        max_medias: 3
      movie:
        max_medias: 3

image

Cant add upcoming for movies and I dont see any other sensors even after restart ( show / movie / recommendation etc) image

From documentation

There are five sensors available under the sensors > upcoming array: show for TV Shows (actually, episodes). Creates sensor.trakt_upcoming_shows new_show for New Shows (series premiers). Creates sensor.trakt_upcoming_new_shows

dylandoamaral commented 1 year ago

I tried a new release I am not very confident but maybe it will help.

rzechu commented 1 year ago

@dylandoamaral thank you but I am afraid - nothing changed after plain plugin update + few restarts image

I finally resolved issue but not sure what helped

  1. edited my configuration.yaml and replaced my trakt_tv config (from 1st post ) with default one:
    trakt_tv:
    language: en # Prefered language for movie/show title
    timezone: Europe/Paris # Prefered timezone
    sensors:
    upcoming:
      show:
        days_to_fetch: 90 # How many days in the future you want to fetch
        max_medias: 3 # How many medias you want to fetch
      new_show:
        days_to_fetch: 90
        max_medias: 3
      premiere:
        days_to_fetch: 90
        max_medias: 3
      movie:
        days_to_fetch: 90
        max_medias: 3
      dvd:
        days_to_fetch: 90
        max_medias: 3
    next_to_watch:
      all:
        max_medias: 40
        exclude:
          - veep
          - the-original
          - friends
      only_aired:
        max_medias: 40
        exclude:
          - veep
          - the-original
          - friends
      only_upcoming:
        max_medias: 40      
  2. put above mentioned section almost at top of my configuration file

after restart new entities appeared image

anyway thank you for help and great plugin

Only 1 more issue, is it normal that all upcoming entities are empty (or it has to be paid feature in trakt website?)

image

dylandoamaral commented 1 year ago

I don't understand what is empty based on your screen ?

rzechu commented 1 year ago

image image image

Same trakt_upcoming_new_shows trakt_upcoming_movies trakt_upcoming_dvd trakt_next_to_watch_only_upcoming

Not "upcoming" works fine image image

dylandoamaral commented 1 year ago

Did you add show into your watchlist from : https://trakt.tv/movies/anticipated ? And did you have movies or shows that are upcoming soon enough ?

rzechu commented 1 year ago

You're right. Its my fault I didn't added anything to watchlist on anticipated/upcoming pages (thought its gonna show overall recommended upcoming movies/shows). Everything is fine now. Thank you for your work and great plugin!