Conversation
Pre-populate the device registry with UniFi device MAC connections before forwarding to platforms. Platforms run in parallel during forward_entry_setups, and when device_tracker happened to be processed before any platform that creates a device entry via DeviceInfo, the device_tracker entity was registered as disabled-by-default (because ScannerEntity.entity_registry_enabled_default returns False when no matching device exists in the registry yet) and aborted.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updated docstring for ensure_homeassistant_loaded fixture.
This also bumps libcec used in the base image to 7.1.1, full changelog: * https://github.com/home-assistant/docker/releases/tag/2026.02.0 Python changelog: * https://docs.python.org/release/3.14.3/whatsnew/changelog.html
|
Hey there @allenporter, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hey there @Kane610, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hey there @theobld-ww, @devender-verma-ww, @ssi-spyro, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s Python/runtime build targets to Python 3.14.3 while also including a couple of integration-level adjustments that affect coordinator and setup behavior.
Changes:
- Bump Python references to 3.14.3 (tooling + generated Dockerfile) and update the builder base image version.
- Adjust UniFi setup to pre-create device-registry entries for UniFi devices before platform forwarding.
- Update Watts coordinator hub-update handling to notify listeners without resetting refresh scheduling; adjust MCP server test setup and manifest dependencies accordingly.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tests/components/mcp_server/conftest.py |
Adds an autouse fixture to ensure the homeassistant component is loaded for MCP server tests. |
homeassistant/components/mcp_server/manifest.json |
Removes homeassistant from integration dependencies. |
homeassistant/components/unifi/__init__.py |
Pre-populates device registry with UniFi devices prior to forwarding entry setups. |
homeassistant/components/watts/coordinator.py |
Changes hub-update handling to update data + listeners without calling async_set_updated_data. |
.python-version |
Bumps the repo Python version to 3.14.3. |
script/hassfest/docker/Dockerfile |
Updates the generated hassfest docker base image to python:3.14.3-alpine. |
.github/workflows/builder.yml |
Updates the builder base image version used in CI. |
|
#169444 was accepted and merged |
Proposed change
Do not merge: this PR is just for testing pending PRs and checking flaky tests
Main PR is #162263
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: