diff --git a/src/components/entity/ha-state-label-badge.ts b/src/components/entity/ha-state-label-badge.ts index c9308e48e6..1f17be363c 100644 --- a/src/components/entity/ha-state-label-badge.ts +++ b/src/components/entity/ha-state-label-badge.ts @@ -184,7 +184,7 @@ export class HaStateLabelBadge extends hassLocalizeLitMixin(LitElement) { private startInterval(stateObj) { this.clearInterval(); - if (computeStateDomain(stateObj) === "timer") { + if (stateObj && computeStateDomain(stateObj) === "timer") { this.calculateTimerRemaining(stateObj); if (stateObj.state === "active") {