From 11e125f2e89e1712c2c107cb50381d87f7905ba6 Mon Sep 17 00:00:00 2001 From: Thomas Schamm Date: Sun, 29 Jan 2023 15:00:36 +0100 Subject: [PATCH] Add Bosch SHC description and host form strings (#86897) * Add description to setup SHC II. Add missing host info in reauth_confirm * Remove template value in en.json --- homeassistant/components/bosch_shc/strings.json | 7 +++++-- homeassistant/components/bosch_shc/translations/de.json | 7 +++++-- homeassistant/components/bosch_shc/translations/en.json | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/bosch_shc/strings.json b/homeassistant/components/bosch_shc/strings.json index 15fb061ef2b..2b5720f0849 100644 --- a/homeassistant/components/bosch_shc/strings.json +++ b/homeassistant/components/bosch_shc/strings.json @@ -14,11 +14,14 @@ } }, "confirm_discovery": { - "description": "Please press the Bosch Smart Home Controller's front-side button until LED starts flashing.\nReady to continue to set up {model} @ {host} with Home Assistant?" + "description": "Smart Home Controller I: Please press the front-side button until LED starts flashing.\nSmart Home Controller II: Press the function button shortly. Cloud and network lights start blinking orange.\nDevice is now ready to be paired.\n\nReady to continue to set up {model} @ {host} with Home Assistant?" }, "reauth_confirm": { "title": "[%key:common::config_flow::title::reauth%]", - "description": "The bosch_shc integration needs to re-authenticate your account" + "description": "The bosch_shc integration needs to re-authenticate your account", + "data": { + "host": "[%key:common::config_flow::data::host%]" + } } }, "error": { diff --git a/homeassistant/components/bosch_shc/translations/de.json b/homeassistant/components/bosch_shc/translations/de.json index 6ace3cedc95..9c0a9a359f9 100644 --- a/homeassistant/components/bosch_shc/translations/de.json +++ b/homeassistant/components/bosch_shc/translations/de.json @@ -14,7 +14,7 @@ "flow_title": "Bosch SHC: {name}", "step": { "confirm_discovery": { - "description": "Bitte dr\u00fccke die frontseitige Taste des Bosch Smart Home Controllers, bis die LED zu blinken beginnt.\nBist du bereit, mit der Einrichtung von {model} @ {host} in Home Assistant fortzufahren?" + "description": "Smart Home Controller I: Bitte dr\u00fccke die frontseitige Taste, bis die LED zu blinken beginnt.\nSmart Home Controller II: Dr\u00fccke kurz die Funktionstaste. Die Cloud- und Netzwerkleuchten beginnen orange zu blinken.\nDas Ger\u00e4t ist nun f\u00fcr die Kopplung bereit.\n\nBist du bereit, mit der Einrichtung von {model} @ {host} in Home Assistant fortzufahren?" }, "credentials": { "data": { @@ -23,7 +23,10 @@ }, "reauth_confirm": { "description": "Die bosch_shc Integration muss dein Konto neu authentifizieren", - "title": "Integration erneut authentifizieren" + "title": "Integration erneut authentifizieren", + "data": { + "host": "Host" + } }, "user": { "data": { diff --git a/homeassistant/components/bosch_shc/translations/en.json b/homeassistant/components/bosch_shc/translations/en.json index ab5cde9ef27..ad7859e80e6 100644 --- a/homeassistant/components/bosch_shc/translations/en.json +++ b/homeassistant/components/bosch_shc/translations/en.json @@ -14,7 +14,7 @@ "flow_title": "Bosch SHC: {name}", "step": { "confirm_discovery": { - "description": "Please press the Bosch Smart Home Controller's front-side button until LED starts flashing.\nReady to continue to set up {model} @ {host} with Home Assistant?" + "description": "Smart Home Controller I: Please press the front-side button until LED starts flashing.\nSmart Home Controller II: Press the function button shortly. Cloud and network lights start blinking orange.\nDevice is now ready to be paired.\n\nReady to continue to set up {model} @ {host} with Home Assistant?" }, "credentials": { "data": { @@ -23,7 +23,10 @@ }, "reauth_confirm": { "description": "The bosch_shc integration needs to re-authenticate your account", - "title": "Reauthenticate Integration" + "title": "Reauthenticate Integration", + "data": { + "host": "Host" + } }, "user": { "data": {