Update bt_smarthub component making it compatible with smarthub 2#31292
Conversation
|
Hi @leroyshirto, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
|
Hey there @jxwolstenholme, mind taking a look at this pull request as its been labeled with a integration ( |
c822b65 to
f5e7640
Compare
|
@jxwolstenholme I have implemented the changes you suggested in your feedback. Please could you review the technical implementation? As we are now offering a config option to users I will look at updating the docs to reflect. |
|
Looks good. Yes, agreed that the docs should be updated to confirm that Smarthub 2 support is now implemented. |
jxwolstenholme
left a comment
There was a problem hiding this comment.
Approved from my end.
f5e7640 to
f41fce9
Compare
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
frenck
left a comment
There was a problem hiding this comment.
Thanks, @leroyshirto, left 2 small comments.
483e3d0 to
f41b36d
Compare
MartinHjelmare
left a comment
There was a problem hiding this comment.
Please rebase on latest dev branch and solve the merge conflict.
c158858 to
bc9b6d9
Compare
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The CI checks on this page aren't updated properly. The formatting check failed: Please run black and commit the changes. |
…T's home hub 2. The API has changed in the new version so this change also makes the component code compatible with the changes to the library.
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
This should make BTSmartHubScanner easier to test as you can pass in a mock smarthub_client
bc9b6d9 to
2e4a325
Compare
@MartinHjelmare Do we need to re-run Azure Pipelines after I fixed the formatting or does that happen automatically? |
|
A checks have passed now. 👍 |
Proposed change
version
0.2.0of thebtsmarthub_devicelistpackage makes it compatible with BT's home hub 2 routers. The API of the library has changed. This change makes the component code compatible with the changes to the library.This change resolves the 404 errors members in the comunity have been experiencing
jxwolstenholme/btsmarthub_devicelist#3
https://community.home-assistant.io/t/has-anyone-had-any-success-using-the-bt-home-hub-5-device-tracker-component-recently/38289/25
Type of change
Example entry for
configuration.yaml:Note: testing this requires a BT Smarthub or Smarthub 2.
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
PR for documentation change Add optional configuration param for BT Smart Hub6 integration (#31292) home-assistant.io#11972
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: