v6
Bug fixes
- Fix
Token refresh failed (400)(#7, #8): OAuth token requests (both initial code exchange and refresh) are now sent as JSON, matching what the Anthropic OAuth token endpoint expects. This resolves the refresh failures that appeared once an access token expired. - Trigger reauth instead of silent failure: when the refresh token is missing/invalid, the integration now raises a reauth flow so you can re-authenticate from the UI — no more removing and re-adding the integration.
Also in this release (since v5)
- Reauth flow and API Error sensor
- Coordinator now shuts down cleanly on unload;
always_update=Falseto avoid redundant state updates integration_type: servicein the manifest; addpyrightconfig.json
Thanks to @PineappleEmperor for the fix (#8) and to @penmoid, @kwilson, @mjendza for reporting.
Closes #7.