This Toon integration supports long-lived access tokens in the client_secret
field, in order to fix issue 115290.
To generate such a token, use the following link filled in with your client_id
in a webbrowser:
https://api.toon.eu/toonapi-accesstoken?tenant_id=eneco&client_id=<consumer_key>
and put the retrieved value in your configuration.yaml
as the client_secret
.
- Clone the repository to your machine and copy the contents of custom_components/ to your config directory
- Restart Home Assistant
- Setup integration via the integration page.
- Add the integration through this link:
- Restart Home Assistant
- Setup integration via the integration page.
Special thanks to @FrankHoogmans for this patch.