Remove NAM translations handled by device class (#95740)
Remove translations handled by device classpull/95732/head^2
parent
caaeb28cbb
commit
4ff158a105
|
@ -23,7 +23,6 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
RESTART_BUTTON: ButtonEntityDescription = ButtonEntityDescription(
|
||||
key="restart",
|
||||
translation_key="restart",
|
||||
device_class=ButtonDeviceClass.RESTART,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
)
|
||||
|
|
|
@ -338,7 +338,6 @@ SENSORS: tuple[NAMSensorEntityDescription, ...] = (
|
|||
),
|
||||
NAMSensorEntityDescription(
|
||||
key=ATTR_SIGNAL_STRENGTH,
|
||||
translation_key="signal_strength",
|
||||
suggested_display_precision=0,
|
||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||
device_class=SensorDeviceClass.SIGNAL_STRENGTH,
|
||||
|
|
|
@ -39,11 +39,6 @@
|
|||
}
|
||||
},
|
||||
"entity": {
|
||||
"button": {
|
||||
"restart": {
|
||||
"name": "[%key:component::button::entity_component::restart::name%]"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
"bme280_humidity": {
|
||||
"name": "BME280 humidity"
|
||||
|
@ -153,9 +148,6 @@
|
|||
"dht22_temperature": {
|
||||
"name": "DHT22 temperature"
|
||||
},
|
||||
"signal_strength": {
|
||||
"name": "[%key:component::sensor::entity_component::signal_strength::name%]"
|
||||
},
|
||||
"last_restart": {
|
||||
"name": "Last restart"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue