Remove NAM translations handled by device class (#95740)
Remove translations handled by device class
This commit is contained in:
parent
caaeb28cbb
commit
4ff158a105
3 changed files with 0 additions and 10 deletions
|
@ -23,7 +23,6 @@ _LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
RESTART_BUTTON: ButtonEntityDescription = ButtonEntityDescription(
|
RESTART_BUTTON: ButtonEntityDescription = ButtonEntityDescription(
|
||||||
key="restart",
|
key="restart",
|
||||||
translation_key="restart",
|
|
||||||
device_class=ButtonDeviceClass.RESTART,
|
device_class=ButtonDeviceClass.RESTART,
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
)
|
)
|
||||||
|
|
|
@ -338,7 +338,6 @@ SENSORS: tuple[NAMSensorEntityDescription, ...] = (
|
||||||
),
|
),
|
||||||
NAMSensorEntityDescription(
|
NAMSensorEntityDescription(
|
||||||
key=ATTR_SIGNAL_STRENGTH,
|
key=ATTR_SIGNAL_STRENGTH,
|
||||||
translation_key="signal_strength",
|
|
||||||
suggested_display_precision=0,
|
suggested_display_precision=0,
|
||||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||||
device_class=SensorDeviceClass.SIGNAL_STRENGTH,
|
device_class=SensorDeviceClass.SIGNAL_STRENGTH,
|
||||||
|
|
|
@ -39,11 +39,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": {
|
"entity": {
|
||||||
"button": {
|
|
||||||
"restart": {
|
|
||||||
"name": "[%key:component::button::entity_component::restart::name%]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sensor": {
|
"sensor": {
|
||||||
"bme280_humidity": {
|
"bme280_humidity": {
|
||||||
"name": "BME280 humidity"
|
"name": "BME280 humidity"
|
||||||
|
@ -153,9 +148,6 @@
|
||||||
"dht22_temperature": {
|
"dht22_temperature": {
|
||||||
"name": "DHT22 temperature"
|
"name": "DHT22 temperature"
|
||||||
},
|
},
|
||||||
"signal_strength": {
|
|
||||||
"name": "[%key:component::sensor::entity_component::signal_strength::name%]"
|
|
||||||
},
|
|
||||||
"last_restart": {
|
"last_restart": {
|
||||||
"name": "Last restart"
|
"name": "Last restart"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue