mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Move names to strings.json
This commit is contained in:
@@ -14,7 +14,7 @@ from .entity import RingEntity
|
||||
|
||||
BUTTON_DESCRIPTION = ButtonEntityDescription(
|
||||
key="open_door",
|
||||
name="Open door",
|
||||
translation_key="open_door",
|
||||
icon="mdi:door-closed-lock",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
)
|
||||
|
@@ -215,21 +215,21 @@ SENSOR_TYPES: tuple[RingSensorEntityDescription, ...] = (
|
||||
),
|
||||
RingSensorEntityDescription(
|
||||
key="doorbell_volume",
|
||||
name="Doorbell Volume",
|
||||
translation_key="doorbell_volume",
|
||||
category=["other"],
|
||||
icon="mdi:bell-ring",
|
||||
cls=RingSensor,
|
||||
),
|
||||
RingSensorEntityDescription(
|
||||
key="mic_volume",
|
||||
name="Mic Volume",
|
||||
translation_key="mic_volume",
|
||||
category=["other"],
|
||||
icon="mdi:bell-ring",
|
||||
cls=RingSensor,
|
||||
),
|
||||
RingSensorEntityDescription(
|
||||
key="voice_volume",
|
||||
name="Voice Volume",
|
||||
translation_key="voice_volume",
|
||||
category=["other"],
|
||||
icon="mdi:bell-ring",
|
||||
cls=RingSensor,
|
||||
|
@@ -37,6 +37,11 @@
|
||||
"name": "Ding"
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"open_door": {
|
||||
"name": "Open Door"
|
||||
}
|
||||
},
|
||||
"light": {
|
||||
"light": {
|
||||
"name": "[%key:component::light::title%]"
|
||||
@@ -60,6 +65,15 @@
|
||||
"volume": {
|
||||
"name": "Volume"
|
||||
},
|
||||
"doorbell_volume": {
|
||||
"name": "Doorbell Volume"
|
||||
},
|
||||
"mic_volume": {
|
||||
"name": "Mic Volume"
|
||||
},
|
||||
"voice_volume": {
|
||||
"name": "Voice Volume"
|
||||
},
|
||||
"wifi_signal_category": {
|
||||
"name": "Wi-Fi signal category"
|
||||
},
|
||||
|
Reference in New Issue
Block a user