Fix Reolink battery translation_key unneeded (#117616)

This commit is contained in:
starkillerOG 2024-05-17 09:09:01 +02:00 committed by GitHub
parent 1589226618
commit abe83f5515
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -65,7 +65,6 @@ SENSORS = (
ReolinkSensorEntityDescription( ReolinkSensorEntityDescription(
key="battery_percent", key="battery_percent",
cmd_key="GetBatteryInfo", cmd_key="GetBatteryInfo",
translation_key="battery_percent",
native_unit_of_measurement=PERCENTAGE, native_unit_of_measurement=PERCENTAGE,
device_class=SensorDeviceClass.BATTERY, device_class=SensorDeviceClass.BATTERY,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.MEASUREMENT,

View file

@ -400,9 +400,6 @@
"ptz_pan_position": { "ptz_pan_position": {
"name": "PTZ pan position" "name": "PTZ pan position"
}, },
"battery_percent": {
"name": "Battery percentage"
},
"battery_temperature": { "battery_temperature": {
"name": "Battery temperature" "name": "Battery temperature"
}, },