github trickv/hass-claude-usage v6

latest releases: 10, v9, v8...
2 months ago

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.

Don't miss a new hass-claude-usage release

NewReleases is sending notifications on new releases.