Skip to content

Commit

Permalink
Prepare for next release (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
engrbm87 authored Jun 11, 2024
1 parent 5f78a63 commit 1659858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ Trakt's upcoming shows for [Home Assistant](https://www.home-assistant.io/)

1. Create new app at https://trakt.tv/oauth/applications
2. Use the following redirect_uri:
- If "my" component is enabled: https://my.home-assistant.io/redirect/oauth
- With HA cloud configured: https://\<cloud-remote-url>/auth/external/callback
- Without HA cloud configured: http://\<local-ip>:<port>/auth/external/callback
- Without HA cloud configured: http://\<local-ip>:\<port>/auth/external/callback
3. Save the application and then note down the `client_id` and `client_secret`

## Installation in Home Assistant:
Expand All @@ -28,16 +29,14 @@ Trakt's upcoming shows for [Home Assistant](https://www.home-assistant.io/)
2. Restart Home Assistant
3. Add the Integration from the UI and setup your options

### Example ui-lovelace.yaml:
### Example dashboard card:

```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.

[buymecoffee]: https://www.buymeacoffee.com/iantrich
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
[commits-shield]: https://img.shields.io/github/commit-activity/y/custom-components/sensor.trakt.svg?style=for-the-badge
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Trakt",
"domains": ["sensor"],
"homeassistant": "0.99.0",
"homeassistant": "2024.6.0",
"render_readme": true
}

0 comments on commit 1659858

Please sign in to comment.