hass-core/tests/components/huawei_lte
Ville Skyttä c625051665
Improve Huawei LTE SSDP inclusion ()
* Probe Huawei LTE API for device support on SSDP match

More or less as expected, the loosening of SSDP/UPnP data matches done
in  started to yield false positives, as in .

Coming up with robust matches solely based on the SSDP/UPnP data still
does not seem possible, so keep the matches as loose as they were made,
but additionally invoke a probe request on the API to determine if the
device looks like a supported one.

* Probe only after unique id checks

Prevents throwaway probes for discoveries already in progress.

* Fix SSDP result URL test, add missing assert on it
2023-01-12 06:47:38 +01:00
..
__init__.py
test_config_flow.py Improve Huawei LTE SSDP inclusion () 2023-01-12 06:47:38 +01:00
test_device_tracker.py Modernize Huawei LTE () 2019-10-24 19:31:49 +03:00
test_sensor.py Add missing unit for signal strength () 2020-10-01 16:14:29 +02:00
test_switches.py Improve code quality in huawei_lte () 2022-08-11 11:03:12 +02:00