core/tests/components/huawei_lte
Ville Skyttä a29695e622
Add Huawei LTE network mode select (#104614)
* Convert network mode from sensor to select for huawei_lte

This also introduces the select platform to huawei_lte integration.

* Move (networkmode, str) mapping to const

Also, rebase on top of the current dev

* Fix variable naming, initialize name

* Fix wrong key for router access

* Typing fixes

* Adapt to current way of registering subscriptions

* Simplify option management, make translatable

* Make use of custom entity description

* Add icon

* Revert sensor formatting changes, move to another PR

* Improve entity class naming

* Add test

* Make sure entity descriptions define a setter function

---------

Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
2023-12-06 14:23:26 +02:00
..
__init__.py Add Huawei LTE restart and clear traffic statistics buttons (#91967) 2023-11-23 19:35:35 +01:00
test_button.py Add Huawei LTE restart and clear traffic statistics buttons (#91967) 2023-11-23 19:35:35 +01:00
test_config_flow.py Support HTTPS connections to Huawei LTE devices (#86119) 2023-11-27 18:03:29 +01:00
test_device_tracker.py
test_select.py Add Huawei LTE network mode select (#104614) 2023-12-06 14:23:26 +02:00
test_sensor.py
test_switches.py Add Huawei LTE restart and clear traffic statistics buttons (#91967) 2023-11-23 19:35:35 +01:00