-
-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Add bluetooth integration #74653
Add bluetooth integration #74653
Conversation
|
I guess we need some docs now |
I need to add some loader tests as well |
Fjäråskupan currently need to get duplicate data in announces. Its used to keep track of availability. Didnt look like that was enabled here? |
|
Is there a way around that? We really don't want to enable that on the main scanner as it will significantly increase the number of messages we need to process. We are avoiding allowing multiple scanners because of |
Well, we need to keep track of if the device is still available. We dont want to poll it, since it crashes easily. I dont think bleak exposes lost devices while scanning. It probably could with bluez backend, not sure with others. |
Proposed change
Bluetooth discovery and scanner callback registration MVP
Note that CPU may be a bit high until we have BluezTestBot/bluez#1132 and home-assistant/plugin-audio#85 is resolved
For developers
Register callbacks with
See home-assistant/developers.home-assistant#1389 for more
Type of change
Additional information
Checklist
black --fast 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
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: