diff --git a/src/panels/lovelace/cards/hui-alarm-panel-card.ts b/src/panels/lovelace/cards/hui-alarm-panel-card.ts index 51153caa27..de0181a8e5 100644 --- a/src/panels/lovelace/cards/hui-alarm-panel-card.ts +++ b/src/panels/lovelace/cards/hui-alarm-panel-card.ts @@ -206,7 +206,7 @@ class HuiAlarmPanelCard extends hassLocalizeLitMixin(LitElement) private _handleActionClick(e: MouseEvent): void { callAlarmAction( this.hass!, - this._config!.entity_id, + this._config!.entity, (e.currentTarget! as any).action, this._code! );