Repository navigation
release: 2026.10.1b2 (pyhive-integration 2.0.0b4) - #214
Merged
Merged
Conversation
Pin the 2.0.0 beta and handle the exceptions its start_session can now raise. A failed device fetch raises HiveConnectionError, which now retries setup instead of failing it. HiveUnknownConfiguration starts reauth, matching what 1.0.9 did for an empty device fetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 3 tasks
Beta release shipping pyhive-integration 2.0.0b4, ahead of core's 1.0.9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Merged 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Pins
pyhive-integrationto the 2.0.0 beta (2.0.0b4) and handles the setup exceptions it introduces.Library changes that matter here
device["hiveType"],.get()). AllAuthmethods the config flow uses are unchanged.hiveTypeinSENSOR_TYPESis still supported. Alarm, camera and siren were removed, and this component doesn't use them.start_sessionno longer raisesHiveReauthRequiredon an empty or failed device fetch:HiveConnectionError→ mapped toConfigEntryNotReady, so a network blip retries setup instead of prompting reauth.HiveUnknownConfiguration→ mapped toConfigEntryAuthFailed, the same reauth behaviour as before.HiveAuthCredentialErrorbase. The config flow catches them beforeHiveApiError, so error messages are unchanged.Verification
script/test: 82 passed, including new setup-failure cases for both exceptions.script/lint --check: clean.data.jsonthrough the real getters. All 70 devices across all six platforms updated without errors.This is a beta. A component beta release would let users try it before 2.0.0 is stable.
Related issues
None.
Checklist
script/testpassesscript/lint --checkpasses (afterscript/lint, which also regenerates translations)versioninmanifest.json(left for the release step)🤖 Generated with Claude Code