mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Remove obsolete translation keys in Sanix (#115764)
This commit is contained in:
parent
f1ebe9d20a
commit
dfec91d274
@ -41,7 +41,6 @@ class SanixSensorEntityDescription(SensorEntityDescription):
|
|||||||
SENSOR_TYPES: tuple[SanixSensorEntityDescription, ...] = (
|
SENSOR_TYPES: tuple[SanixSensorEntityDescription, ...] = (
|
||||||
SanixSensorEntityDescription(
|
SanixSensorEntityDescription(
|
||||||
key=ATTR_API_BATTERY,
|
key=ATTR_API_BATTERY,
|
||||||
translation_key=ATTR_API_BATTERY,
|
|
||||||
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,
|
||||||
@ -49,7 +48,6 @@ SENSOR_TYPES: tuple[SanixSensorEntityDescription, ...] = (
|
|||||||
),
|
),
|
||||||
SanixSensorEntityDescription(
|
SanixSensorEntityDescription(
|
||||||
key=ATTR_API_DISTANCE,
|
key=ATTR_API_DISTANCE,
|
||||||
translation_key=ATTR_API_DISTANCE,
|
|
||||||
native_unit_of_measurement=UnitOfLength.CENTIMETERS,
|
native_unit_of_measurement=UnitOfLength.CENTIMETERS,
|
||||||
device_class=SensorDeviceClass.DISTANCE,
|
device_class=SensorDeviceClass.DISTANCE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user