From b9ff69d3ac8e9fd8353c10d553cba588dc222266 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 20 Mar 2023 13:39:20 +0100 Subject: [PATCH] Extend attribute state translations for Camera (#89876) * Extend attribute state translations for Camera * Add common generic translations --- homeassistant/components/camera/strings.json | 25 ++++++++++++++++++++ homeassistant/strings.json | 3 +++ 2 files changed, 28 insertions(+) diff --git a/homeassistant/components/camera/strings.json b/homeassistant/components/camera/strings.json index 06ddaeeb092..0722ec1c5e6 100644 --- a/homeassistant/components/camera/strings.json +++ b/homeassistant/components/camera/strings.json @@ -7,6 +7,31 @@ "recording": "Recording", "streaming": "Streaming", "idle": "[%key:common::state::idle%]" + }, + "state_attributes": { + "access_token": { + "name": "Access token" + }, + "brand": { + "name": "Brand" + }, + "frontend_stream_type": { + "name": "Stream type", + "state": { + "hls": "HLS", + "webrtc": "WebRTC" + } + }, + "motion_detection": { + "name": "Motion detection", + "state": { + "true": "Enabled", + "false": "Disabled" + } + }, + "model_name": { + "name": "[%key:common::generic::model%]" + } } } } diff --git a/homeassistant/strings.json b/homeassistant/strings.json index f3829cd2bd9..ad18b675e07 100644 --- a/homeassistant/strings.json +++ b/homeassistant/strings.json @@ -1,5 +1,8 @@ { "common": { + "generic": { + "model": "Model" + }, "state": { "off": "Off", "on": "On",