From ba8b20d877bd7b91e044e2c45eab0a621283d733 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 31 Mar 2022 17:59:44 +0200 Subject: [PATCH] Fix url config when not logged in to cloud (#12176) --- src/panels/config/core/ha-config-url-form.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/core/ha-config-url-form.ts b/src/panels/config/core/ha-config-url-form.ts index e74546ce7b..80830d6c7a 100644 --- a/src/panels/config/core/ha-config-url-form.ts +++ b/src/panels/config/core/ha-config-url-form.ts @@ -246,8 +246,8 @@ class ConfigUrlForm extends LitElement { if (isComponentLoaded(this.hass, "cloud")) { fetchCloudStatus(this.hass).then((cloudStatus) => { + this._cloudStatus = cloudStatus; if (cloudStatus.logged_in) { - this._cloudStatus = cloudStatus; this._showCustomExternalUrl = this._externalUrlValue !== null; } });