Remove obsolete translation keys in Sanix (#115764)

This commit is contained in:
Joost Lekkerkerker 2024-04-17 16:11:42 +02:00 committed by GitHub
parent f1ebe9d20a
commit dfec91d274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,6 @@ class SanixSensorEntityDescription(SensorEntityDescription):
SENSOR_TYPES: tuple[SanixSensorEntityDescription, ...] = (
SanixSensorEntityDescription(
key=ATTR_API_BATTERY,
translation_key=ATTR_API_BATTERY,
native_unit_of_measurement=PERCENTAGE,
device_class=SensorDeviceClass.BATTERY,
state_class=SensorStateClass.MEASUREMENT,
@ -49,7 +48,6 @@ SENSOR_TYPES: tuple[SanixSensorEntityDescription, ...] = (
),
SanixSensorEntityDescription(
key=ATTR_API_DISTANCE,
translation_key=ATTR_API_DISTANCE,
native_unit_of_measurement=UnitOfLength.CENTIMETERS,
device_class=SensorDeviceClass.DISTANCE,
state_class=SensorStateClass.MEASUREMENT,