- ${this.hass!.localize("ui.panel.config.cloud.account.google.info")}
-
+
+ ${this.hass.localize("ui.panel.config.cloud.account.google.info")}
+
+ ${!this.cloudStatus.google_registered
+ ? html`
+
+ ${this.hass.localize(
+ "ui.panel.config.cloud.account.google.not_configured_title"
+ )}
+
+
+ ${this.hass.localize(
+ "ui.panel.config.cloud.account.google.not_configured_text"
+ )}
+
+
+
+ `
+ : ""}
${google_enabled
? html`
- ${this.hass!.localize(
+ ${this.hass.localize(
"ui.panel.config.cloud.account.google.enable_state_reporting"
)}
@@ -88,25 +106,25 @@ export class CloudGooglePref extends LitElement {
- ${this.hass!.localize(
+ ${this.hass.localize(
"ui.panel.config.cloud.account.google.info_state_reporting"
)}