-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Add integration type to xiaomi_ble #157740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Hey there @Jc2k, @Ernst79, 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR corrects the integration_type metadata for the Xiaomi BLE integration from "hub" to "device". The integration handles individual Xiaomi Bluetooth Low Energy sensor devices (temperature sensors, buttons, etc.), where each config entry represents a single BLE device identified by its Bluetooth address, rather than a hub that manages multiple devices.
Key Changes
- Updated
integration_typefield in manifest.json from"hub"to"device" - Regenerated integrations.json to reflect the manifest change
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| homeassistant/components/xiaomi_ble/manifest.json | Added "integration_type": "device" field to correctly classify this as a device integration |
| homeassistant/generated/integrations.json | Auto-generated file updated by hassfest to reflect the manifest change |
epenet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Co-authored-by: Claude <[email protected]>
Proposed change
Add
integration_type: "device"to the Xiaomi BLE integration manifest. This integration supports Xiaomi BLE sensor devices.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:
🤖 Generated with Claude Code