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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bluetooth_le_tracker to use Bleak #75013
Conversation
While this change will make it push since we see new devices right away we probably still need a periodic poll of |
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
We need some type of common Bluetooth mock so integrations don't actually end up setting up a scanner which won't work since the CI definitely doesn't have Bluetooth |
- Breaks this out from the bluetooth integration so other integrations can mock out bluetooth - Blocks home-assistant#75013
Looks like this had partial test coverage before. Should add a few more when I don't have so many irons in the fire |
homeassistant/components/bluetooth_le_tracker/device_tracker.py
Outdated
Show resolved
Hide resolved
This isn't ready for merge yet, right? The Bluetooth changes is from the other branch, I think. |
Right, its got that branch merged into it and needs to be rebased so it gets separated out once the other PR is merged. |
Needs #75381
Proposed change
Update bluetooth_le_tracker to use Bleak
I wanted to keep the change as small as possible so its still a legacy tracker but using Bleak now.
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: