Only show warning when google is enabled (#9054)

This commit is contained in:
Bram Kragten 2021-04-30 20:34:45 +02:00 committed by GitHub
parent df22fd00ca
commit f8aa472409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ export class CloudGooglePref extends LitElement {
<p>
${this.hass.localize("ui.panel.config.cloud.account.google.info")}
</p>
${!this.cloudStatus.google_registered
${google_enabled && !this.cloudStatus.google_registered
? html`
<h3 class="warning">
${this.hass.localize(