From 894a0b9cd9010aa818339256e8765796b7b1c8ca Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Tue, 12 Jan 2021 00:52:19 +0100 Subject: [PATCH] Clear entity for automation duplication --- src/panels/config/automation/ha-automation-editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 996daed1736b..845733cef852 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -355,6 +355,7 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { ...baseConfig, ...initData, } as AutomationConfig; + this._entityId = undefined; } if (