ha-core/homeassistant/components/bt_smarthub
Leroy Shirto 6fc517fdbe
Update bt_smarthub component making it compatible with smarthub 2 (#31292)
* 0.2.0 of the btsmarthub_devicelist package makes it compatable with BT'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.

* Update homeassistant/components/bt_smarthub/device_tracker.py

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/bt_smarthub/device_tracker.py

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Remove dep on config in BTSmartHubScanner

This should make BTSmartHubScanner easier to test as you can pass in a mock smarthub_client

* Black format bt_smarthub

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-04-20 20:45:08 +02:00
..
__init__.py
device_tracker.py Update bt_smarthub component making it compatible with smarthub 2 (#31292) 2020-04-20 20:45:08 +02:00
manifest.json Update bt_smarthub component making it compatible with smarthub 2 (#31292) 2020-04-20 20:45:08 +02:00