diff --git a/src/panels/developer-tools/logs/error-log-card.ts b/src/panels/developer-tools/logs/error-log-card.ts index da74ce1a77..fcb7bf476a 100644 --- a/src/panels/developer-tools/logs/error-log-card.ts +++ b/src/panels/developer-tools/logs/error-log-card.ts @@ -38,6 +38,14 @@ class ErrorLogCard extends LitElement { `; } + protected firstUpdated(changedProps) { + super.firstUpdated(changedProps); + + if (this.hass?.config.safe_mode) { + this._refreshErrorLog(); + } + } + static get styles(): CSSResult { return css` .error-log-intro {