From f69951a5237fe93a7e4a397cc9e4a5dbca4ab571 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Fri, 20 Nov 2020 15:16:27 +0100 Subject: [PATCH] Fix automation editor (#7746) --- src/panels/config/automation/manual-automation-editor.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/config/automation/manual-automation-editor.ts b/src/panels/config/automation/manual-automation-editor.ts index addd7f25f2..d32fdf2dae 100644 --- a/src/panels/config/automation/manual-automation-editor.ts +++ b/src/panels/config/automation/manual-automation-editor.ts @@ -279,12 +279,14 @@ export class HaManualAutomationEditor extends LitElement { } private _triggerChanged(ev: CustomEvent): void { + ev.stopPropagation(); fireEvent(this, "value-changed", { value: { ...this.config!, trigger: ev.detail.value as Trigger[] }, }); } private _conditionChanged(ev: CustomEvent): void { + ev.stopPropagation(); fireEvent(this, "value-changed", { value: { ...this.config!, @@ -294,6 +296,7 @@ export class HaManualAutomationEditor extends LitElement { } private _actionChanged(ev: CustomEvent): void { + ev.stopPropagation(); fireEvent(this, "value-changed", { value: { ...this.config!, action: ev.detail.value as Action[] }, });