Show reconnecting when not connected and auto-connect is on (#9738)

This commit is contained in:
Paulus Schoutsen 2021-08-07 02:46:26 -07:00 committed by GitHub
parent 4c247ac49d
commit 9ca64f9789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -56,7 +56,11 @@ export class CloudRemotePref extends LitElement {
<div class="connection-status">
${this.hass.localize(
`ui.panel.config.cloud.account.remote.${
remote_connected ? "connected" : "not_connected"
remote_connected
? "connected"
: remote_enabled
? "connecting"
: "not_connected"
}`
)}
</div>

View File

@ -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",