From 44422086d76943ff7aa9427e4a16d46d24a6b332 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 22 Aug 2022 23:08:32 +0200 Subject: [PATCH] Add alias support to all triggers (#13442) --- src/data/automation.ts | 1 + .../config/automation/trigger/ha-automation-trigger-row.ts | 2 +- .../automation/trigger/types/ha-automation-trigger-state.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data/automation.ts b/src/data/automation.ts index b164df7591..91591a595b 100644 --- a/src/data/automation.ts +++ b/src/data/automation.ts @@ -62,6 +62,7 @@ export interface ContextConstraint { } export interface BaseTrigger { + alias?: string; platform: string; id?: string; variables?: Record; diff --git a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts index d6f32bf995..5525925bd6 100644 --- a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts +++ b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts @@ -110,7 +110,7 @@ export default class HaAutomationTriggerRow extends LitElement {