Skip to content

Commit

Permalink
Add note about services being called multiple times when targeting th…
Browse files Browse the repository at this point in the history
…e device and not an entity
  • Loading branch information
oribafi committed Apr 14, 2024
1 parent 7bc7e1c commit 5392e52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ Note: number of links/packages sensors contain state attributes that have inform
- `myjdownloader.start_downloads`
- `myjdownloader.stop_downloads`

Note: Only select a single _entity_ (e.g., the *_status entity) from the JDownloader when calling a service, not the JDownloader _device_.

## Known Issues

- [ ] When using the pause switch, it might take a while for the status sensor to reflect the new pause state.
- [ ] There is not much error handling yet, e.g. when you change your password, you need to remove and add the integration again.
- [ ] Selecting a JDownloader device for a service target will call that service as many times as there are enabled entities for that device. This integration probably needs to be refactored in a way, that this is avoided e.g., with a designated `myjdwonloader.*` entity.

0 comments on commit 5392e52

Please sign in to comment.