Skip to content

Commit

Permalink
Fix Reolink battery translation_key unneeded (home-assistant#117616)
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG authored May 17, 2024
1 parent 1589226 commit abe83f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion homeassistant/components/reolink/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class ReolinkHostSensorEntityDescription(
ReolinkSensorEntityDescription(
key="battery_percent",
cmd_key="GetBatteryInfo",
translation_key="battery_percent",
native_unit_of_measurement=PERCENTAGE,
device_class=SensorDeviceClass.BATTERY,
state_class=SensorStateClass.MEASUREMENT,
Expand Down
3 changes: 0 additions & 3 deletions homeassistant/components/reolink/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,6 @@
"ptz_pan_position": {
"name": "PTZ pan position"
},
"battery_percent": {
"name": "Battery percentage"
},
"battery_temperature": {
"name": "Battery temperature"
},
Expand Down

0 comments on commit abe83f5

Please sign in to comment.