dylandoamaral / trakt-integration

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

Next to Watch - Only upcoming is broken #90

Closed Anrolosia closed 6 months ago

Anrolosia commented 6 months ago

Hello there!

With the last builds, the only_upcoming sensor is broken, this is due to the is_show_finished function where aired date is compared to completed date. If you're up to date with your show (meaning you saw the first 3 episodes over 3 already aired), the show will be flagged as completed, but it's not, some new episodes are planned for the following days.

I will issue a PR for that