mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Add missing huawei_lte sensor translations (#143694)
This commit is contained in:
parent
eec9a28fe8
commit
7a105de969
@ -543,6 +543,7 @@ SENSOR_META: dict[str, HuaweiSensorGroup] = {
|
|||||||
descriptions={
|
descriptions={
|
||||||
"BatteryPercent": HuaweiSensorEntityDescription(
|
"BatteryPercent": HuaweiSensorEntityDescription(
|
||||||
key="BatteryPercent",
|
key="BatteryPercent",
|
||||||
|
translation_key="battery",
|
||||||
device_class=SensorDeviceClass.BATTERY,
|
device_class=SensorDeviceClass.BATTERY,
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
@ -141,6 +141,9 @@
|
|||||||
"lte_uplink_frequency": {
|
"lte_uplink_frequency": {
|
||||||
"name": "LTE uplink frequency"
|
"name": "LTE uplink frequency"
|
||||||
},
|
},
|
||||||
|
"mode": {
|
||||||
|
"name": "Mode"
|
||||||
|
},
|
||||||
"nrbler": {
|
"nrbler": {
|
||||||
"name": "5G block error rate"
|
"name": "5G block error rate"
|
||||||
},
|
},
|
||||||
@ -240,6 +243,9 @@
|
|||||||
"current_month_upload": {
|
"current_month_upload": {
|
||||||
"name": "Current month upload"
|
"name": "Current month upload"
|
||||||
},
|
},
|
||||||
|
"battery": {
|
||||||
|
"name": "Battery"
|
||||||
|
},
|
||||||
"wifi_clients_connected": {
|
"wifi_clients_connected": {
|
||||||
"name": "Wi-Fi clients connected"
|
"name": "Wi-Fi clients connected"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user