dylandoamaral / trakt-integration

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

Feature: Implement Trakt lists as sensors #106

Closed downey-lv closed 1 month ago

downey-lv commented 1 month ago

Created a new implementation of the highly requested Trakt lists. Tried to match your existing code as close as possible, but let me know if you want anything changed or have any suggestions for future contributions.

Currently doesn't support sorting, but proper implementation of that would require sending additional headers to Trakt, so keeping it simple for now. Can do that in an additional PR.

Closes #74, #75

Testing

Private list

      - friendly_name: "Sonarr Watchlist"
        private_list: True
        list_id: "sonarr-watchlist"

image

Public list

      - friendly_name: "2024 Academy Awards"
        list_id: 26885014
        max_medias: 10

image

Filtered list

      - friendly_name: "Marvel Episodes"
        list_id: 1248149
        media_type: "episode"

image

downey-lv commented 1 month ago

Messed up with branches, reopening as #107