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

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

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 (#85572) 2023-01-12 06:47:38 +01:00
test_device_tracker.py
test_sensor.py
test_switches.py Improve code quality in huawei_lte (#76583) 2022-08-11 11:03:12 +02:00