Skip to content

Fix 6 critical bugs: unique_id, auth, location selection, token retry, coordinator, device IDs#19

Open
j2deen wants to merge 1 commit intoCrewski:mainfrom
j2deen:fix/critical-bugs
Open

Fix 6 critical bugs: unique_id, auth, location selection, token retry, coordinator, device IDs#19
j2deen wants to merge 1 commit intoCrewski:mainfrom
j2deen:fix/critical-bugs

Conversation

@j2deen
Copy link
Copy Markdown

@j2deen j2deen commented Feb 21, 2026

Summary

Test plan

  • Verify integration setup with valid credentials shows no errors
  • Verify integration setup with invalid credentials shows "Invalid authentication" error
  • Verify account with multiple locations allows selecting the correct one
  • Verify unique_id warning no longer appears in HA logs
  • Verify sensors recover gracefully after a temporary API outage (UpdateFailed → retry)
  • Verify device page shows correct device info with string identifiers

🤖 Generated with Claude Code

… token retry, coordinator errors, device identifiers

- config_flow: Convert deviceid to str for unique_id (fixes Crewski#18)
- config_flow: Add try/except around pumpspy.setup() with user-facing error messages (fixes Crewski#14, Crewski#15)
- config_flow: Use user-selected location instead of always locations[0] (fixes Crewski#12)
- pypumpspy: Retry fetch_data with fresh session after token refresh instead of breaking with empty data
- __init__: Raise UpdateFailed instead of silently returning None from _async_update_data
- entity: Convert deviceid to str in device identifiers
- Bump version to 0.1.5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant