core/homeassistant/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
..
translations Improve Huawei LTE SSDP inclusion (#85572) 2023-01-12 06:47:38 +01:00
__init__.py Huawei LTE SSDP improvements (#81643) 2022-12-14 23:48:25 +01:00
binary_sensor.py
config_flow.py Improve Huawei LTE SSDP inclusion (#85572) 2023-01-12 06:47:38 +01:00
const.py Huawei LTE SSDP improvements (#81643) 2022-12-14 23:48:25 +01:00
device_tracker.py
manifest.json Upgrade huawei-lte-api to 1.6.11 (#85669) 2023-01-11 17:44:55 +01:00
notify.py
sensor.py Refactor Huawei LTE to use Entity Description (#83904) 2022-12-13 19:48:46 +01:00
services.yaml
strings.json Improve Huawei LTE SSDP inclusion (#85572) 2023-01-12 06:47:38 +01:00
switch.py
utils.py