Repository navigation
Conversation
|
👋 Hi! Thanks for contributing to Home Assistant. This is your PR dashboard which flags anything you need to address before your PR can be reviewed. Once everything is green, you can press the 'Ready for review' button at the bottom of the page to notify reviewers to take a look. More information about this dashboardThis dashboard automatically updates on every change to this PR and reevaluates the rules as you go. Until everything has been addressed, the bot will keep the PR in draft. Skip a check that doesn't applyIf you think a check doesn't apply to your PR (or the rule is bugged), comment Bot commandsReply with
Checks✨ Everything's in order! 5 checks passed (6 skipped)
|
|
Hey there @home-assistant/matter, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsReply with
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the FP400 integration changes.
No open issues 🎉
What changed in this PR
Adds Aqara Spatial Multi-Sensor FP400 support to Home Assistant’s existing Matter integration through custom sensor and configuration entities.
Changes:
- Adds human count, installation diagnostics, zone count, five configuration selects, installation height, and an AI spatial learning button.
- Adds translated entity names, options, and icons.
- Adds a device fixture, behavior tests, and discovery snapshots.
| File | Description |
|---|---|
tests/components/matter/test_sensor.py |
Tests sensor updates and unknown human counts. |
tests/components/matter/test_select.py |
Tests configuration writes and option updates. |
tests/components/matter/test_number.py |
Tests installation height limits and writes. |
tests/components/matter/test_button.py |
Tests the spatial learning command. |
tests/components/matter/snapshots/test_sensor.ambr |
Records sensor metadata and initial states. |
tests/components/matter/snapshots/test_select.ambr |
Records select options and initial states. |
tests/components/matter/snapshots/test_number.ambr |
Records number entities and limits. |
tests/components/matter/snapshots/test_button.ambr |
Records learning and identify buttons. |
tests/components/matter/snapshots/test_binary_sensor.ambr |
Records occupancy entities across endpoints. |
tests/components/matter/fixtures/nodes/aqara_presence_fp400.json |
Supplies FP400 device data for tests. |
tests/components/matter/common.py |
Includes FP400 in shared device tests. |
homeassistant/components/matter/strings.json |
Adds entity names and option translations. |
homeassistant/components/matter/sensor.py |
Defines custom measurement and diagnostic sensors. |
homeassistant/components/matter/select.py |
Defines five configuration selects and value mappings. |
homeassistant/components/matter/number.py |
Adds installation height with device-reported limits. |
homeassistant/components/matter/icons.json |
Adds icons for the new entities. |
homeassistant/components/matter/button.py |
Adds the AI spatial learning button. |
Review effort: Balanced (adaptive)
There was a problem hiding this comment.
🔵 Needs a closer look
The external Aqara cluster definitions require validation against matter-python-client==1.6.1, particularly the enum values and learning command, in an environment with that dependency.
No open issues 🎉
Review effort: Balanced (adaptive)
Breaking change
Proposed change
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: