diff --git a/src/panels/lovelace/cards/hui-alarm-panel-card.ts b/src/panels/lovelace/cards/hui-alarm-panel-card.ts index c7965a782799..ca2327c1193b 100644 --- a/src/panels/lovelace/cards/hui-alarm-panel-card.ts +++ b/src/panels/lovelace/cards/hui-alarm-panel-card.ts @@ -140,7 +140,13 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard { const oldConfig = changedProps.get("_config") as | AlarmPanelCardConfig | undefined; + const entityId = this._config?.entity; + if (entityId) { + if (oldHass?.entities[entityId] !== this.hass?.entities[entityId]) { + this._loadEntityRegistryEntry(); + } + } if ( !oldHass || !oldConfig ||