Clear entity ID during automation duplication (#8140)

This commit is contained in:
Philip Allgaier 2021-01-13 17:12:51 +01:00 committed by GitHub
parent c28a7d6c10
commit 131a7f3782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,6 +355,7 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) {
...baseConfig, ...baseConfig,
...initData, ...initData,
} as AutomationConfig; } as AutomationConfig;
this._entityId = undefined;
} }
if ( if (