Skip to content

Commit

Permalink
Remove unnecessary translation key
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazer committed Aug 21, 2024
1 parent 0abb8e1 commit 36db6c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/drop_connect/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class DROPBinarySensorEntityDescription(BinarySensorEntityDescription):
),
DROPBinarySensorEntityDescription(
key=POWER,
translation_key=POWER,
translation_key=None, # Use name provided by binary sensor device class
device_class=BinarySensorDeviceClass.POWER,
value_fn=lambda device: device.drop_api.power(),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'platform': 'drop_connect',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'power',
'translation_key': None,
'unique_id': 'DROP-1_C0FFEE_81_power',
'unit_of_measurement': None,
})
Expand Down

0 comments on commit 36db6c6

Please sign in to comment.