From 9ca64f9789bce7f81e351677c94a5ba43757b649 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 7 Aug 2021 02:46:26 -0700 Subject: [PATCH] Show reconnecting when not connected and auto-connect is on (#9738) --- src/panels/config/cloud/account/cloud-remote-pref.ts | 6 +++++- src/translations/en.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/panels/config/cloud/account/cloud-remote-pref.ts b/src/panels/config/cloud/account/cloud-remote-pref.ts index b4e69feeea..77b1463196 100644 --- a/src/panels/config/cloud/account/cloud-remote-pref.ts +++ b/src/panels/config/cloud/account/cloud-remote-pref.ts @@ -56,7 +56,11 @@ export class CloudRemotePref extends LitElement {
${this.hass.localize( `ui.panel.config.cloud.account.remote.${ - remote_connected ? "connected" : "not_connected" + remote_connected + ? "connected" + : remote_enabled + ? "connecting" + : "not_connected" }` )}
diff --git a/src/translations/en.json b/src/translations/en.json index 13b3db2f97..24b363da27 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1902,6 +1902,7 @@ "title": "Remote Control", "connected": "Connected", "not_connected": "Not Connected", + "reconnecting": "Reconnecting", "access_is_being_prepared": "Remote control is being prepared. We will notify you when it's ready.", "info": "Home Assistant Cloud provides a secure remote connection to your instance while away from home.", "instance_is_available": "Your instance is available at",