Clean up device class based entity translations in Verisure (#95082)

This commit is contained in:
Franck Nijhof 2023-06-23 14:01:31 +02:00 committed by GitHub
parent 3d8bf33d03
commit 167f4b475d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -47,7 +47,6 @@ class VerisureThermometer(
_attr_device_class = SensorDeviceClass.TEMPERATURE
_attr_has_entity_name = True
_attr_translation_key = "temperature"
_attr_native_unit_of_measurement = UnitOfTemperature.CELSIUS
_attr_state_class = SensorStateClass.MEASUREMENT
@ -99,7 +98,6 @@ class VerisureHygrometer(
_attr_device_class = SensorDeviceClass.HUMIDITY
_attr_has_entity_name = True
_attr_translation_key = "humidity"
_attr_native_unit_of_measurement = PERCENTAGE
_attr_state_class = SensorStateClass.MEASUREMENT

View File

@ -62,14 +62,6 @@
"ethernet": {
"name": "Ethernet status"
}
},
"sensor": {
"humidity": {
"name": "[%key:component::sensor::entity_component::humidity::name%]"
},
"temperature": {
"name": "[%key:component::sensor::entity_component::temperature::name%]"
}
}
}
}