Remove NAM translations handled by device class (#95740)

Remove translations handled by device class
pull/95732/head^2
Joost Lekkerkerker 2023-07-03 03:32:32 +02:00 committed by GitHub
parent caaeb28cbb
commit 4ff158a105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 10 deletions

View File

@ -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,
)

View File

@ -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,

View File

@ -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"
}