Huawei LTE sensor unique id improvements (#25609)

* Convert sensor setup to async

* Improve sensor unique ids

* Save some indent levels, use f-string formatting

* Require getmac in tests

* Fix RouterData init in tests

* Make discovery_info optional in async_setup_platform signature
This commit is contained in:
Ville Skyttä authored and GitHub committed 2019-08-01 19:22:04 +03:00
1 parent 36129af447
commit c2556d90ea
7 files changed
+50 -14

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ TEST_REQUIREMENTS = (
"georss_generic_client",
"georss_ign_sismologia_client",
"georss_qld_bushfire_alert_client",
"getmac",
"google-api-python-client",
"gTTS-token",
"ha-ffmpeg",