Use device class naming for SMS (#96156)

This commit is contained in:
Joost Lekkerkerker 2023-07-18 21:39:28 +02:00 committed by GitHub
parent 89ed630af9
commit 6f880ec837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -17,7 +17,6 @@ from .const import DOMAIN, GATEWAY, NETWORK_COORDINATOR, SIGNAL_COORDINATOR, SMS
SIGNAL_SENSORS = ( SIGNAL_SENSORS = (
SensorEntityDescription( SensorEntityDescription(
key="SignalStrength", key="SignalStrength",
translation_key="signal_strength",
device_class=SensorDeviceClass.SIGNAL_STRENGTH, device_class=SensorDeviceClass.SIGNAL_STRENGTH,
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS, native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS,

View File

@ -38,9 +38,6 @@
"signal_percent": { "signal_percent": {
"name": "Signal percent" "name": "Signal percent"
}, },
"signal_strength": {
"name": "[%key:component::sensor::entity_component::signal_strength::name%]"
},
"state": { "state": {
"name": "Network status" "name": "Network status"
} }