diff --git a/src/panels/lovelace/entity-rows/hui-climate-entity-row.ts b/src/panels/lovelace/entity-rows/hui-climate-entity-row.ts index 35d6720205..3186c9c62b 100644 --- a/src/panels/lovelace/entity-rows/hui-climate-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-climate-entity-row.ts @@ -31,12 +31,22 @@ class HuiClimateEntityRow extends LitElement implements EntityRow { return html``; } + const stateObj = this.hass.states[this._config.entity]; + + if (!stateObj) { + return html` + + `; + } + return html` ${this.renderStyle()} `;