core/homeassistant/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 network mode select (#104614) 2023-12-06 14:23:26 +02:00
binary_sensor.py
button.py
config_flow.py
const.py
device_tracker.py
manifest.json Upgrade huawei-lte-api to 1.7.3 (#104613) 2023-11-27 22:05:46 +01:00
notify.py
select.py Add Huawei LTE network mode select (#104614) 2023-12-06 14:23:26 +02:00
sensor.py Make huawei_lte operator search and preferred network modes translatable (#104673) 2023-11-29 10:07:54 +01:00
services.yaml
strings.json Add Huawei LTE network mode select (#104614) 2023-12-06 14:23:26 +02:00
switch.py
utils.py