Repository navigation
fix: require unraid-api 1.14.1 for Unraid API 4.37.8+ - #399
Conversation
1.14.1 raises UnraidAPIError for a stopped Docker or VM service instead of AttributeError, and requests VM UUIDs again on servers that refuse introspection. Update every documented pin.
Walkthrough
Priority: Severity of issue fixed: Medium Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
✅ Pull request checklist completeEverything checks out. Thanks for fixing the earlier problems: this pull request is ready for review. |
[Medium impact] This PR appears safe to merge.
|
Pull Request
Description
Fixes #398.
unraid-api1.14.1 (released 2026-10-30, tinkerologie/unraid-api#137) fixes two problems this integration has with Unraid API 4.37.8 and later:AttributeError. The coordinator's optional-service handlers don't catch that, so the whole system poll failed. 1.14.1 raisesUnraidAPIError, which_query_optional_containers/_query_optional_vmsalready handle.uuidattribute on VM switches and sensors and in diagnostics went missing. 1.14.1 requests them again.This PR raises the requirement to
unraid-api>=1.14.1and updates every documented pin; several were stale (1.13.2, 1.6.0).Type of Change
Pre-Submission Governance
pytestlocally and all tests pass./script/lintlocally and it passesRelated Issues
Fixes #398
Critical Rule: Never Bypass unraid-api
unraid-api: no direct GraphQL, HTTP/REST, WebSocket, SSH, or raw socket calls to the Unraid server have been addedUnraidClientfromunraid-apiunraid-api, an issue has been filed at https://github.com/tinkerologie/unraid-api and this PR waits for the library to ship itThe fix belongs in the library, as AGENTS.md requires: tinkerologie/unraid-api#135, released as 1.14.1.
Changes Made
custom_components/unraid/manifest.json,pyproject.toml:unraid-api>=1.14.1.uv.lock:uv lock --upgrade-package unraid-api; onlyunraid-apichanged (1.14.0 → 1.14.1)..github/copilot-instructions.md,.github/instructions/api.instructions.md,.github/instructions/manifest.instructions.mdanddocs/development/ARCHITECTURE.md.Fixedentry.Home Assistant Quality Scale & Standards
entry.runtime_datapatterns where applicable (no newhass.data[DOMAIN]usage)coordinator.data) and avoid direct API/network callsunit_of_measurement)aiohttp.ClientSession()instantiation)Testing Performed
pytest)./script/lint)./script/type-check or mypy custom_components/unraid)pre-commit run --all-files)./script/develop): deployed to the dev Home Assistant 2026.11.0b1Test Results
Documentation
Breaking Changes
None.
Checklist
Disclosure: this PR was written with the help of AI (Claude Code). The "human reviewed" box above is left for the maintainer to tick after review.
Summary by CodeRabbit