Skip to content

v6

Choose a tag to compare

@trickv trickv released this 26 Jun 22:18
eb49d1e

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=False to avoid redundant state updates
  • integration_type: service in the manifest; add pyrightconfig.json

Thanks to @PineappleEmperor for the fix (#8) and to @penmoid, @kwilson, @mjendza for reporting.

Closes #7.