mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Use device class naming for SMS (#96156)
This commit is contained in:
parent
89ed630af9
commit
6f880ec837
@ -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,
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user