Skip to content

Fail setup when no installations or chargers are found (fixes #443) - #450

Merged
sveinse merged 1 commit into
custom-components:masterfrom
rhammen:fix/empty-hierarchy-443
Nov 7, 2026
Merged

sveinse merged 1 commit into
custom-components:masterfrom
rhammen:fix/empty-hierarchy-443

Conversation

@rhammen

@rhammen rhammen commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

When login succeeds but the account sees no installations or chargers (e.g. an old username after an email change), setup used to complete silently with all entities unavailable. It now fails with an error naming the account.

Fixes #443

🤖 Generated with Claude Code

@sveinse
sveinse merged commit 54fab73 into custom-components:master Nov 7, 2026
7 checks passed
rhammen added a commit to rhammen/zaptec that referenced this pull request Nov 8, 2026
…ts#424's tuple return

Co-Authored-By: Claude Opus 5.5 <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

Development

Successfully merging this pull request may close these issues.

Raise a repair or error when login succeeds but zero installations/chargers are returned

2 participants