github jsight/ha-pecron v0.2.5

latest releases: v0.5.0, v0.4.1, v0.4.0...
3 months ago

Bug Fixes

  • Fixed token refresh detection for error 5032: Enhanced automatic token refresh to properly detect API error 5032 (Token validation failed). The previous implementation only caught "authentication", "401", or "unauthorized" errors, but missed the specific error code 5032 that the Pecron API returns when tokens expire. Now also checks for "5032" and "token" keywords in error messages, ensuring expired tokens are automatically refreshed.

Changes

  • Updated token refresh error detection in coordinator
  • Improved error handling for token expiration scenarios

This release ensures more reliable automatic token refresh when the Pecron API returns token validation errors.

Don't miss a new ha-pecron release

NewReleases is sending notifications on new releases.