diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index b6a3cbb6d6..968f92af24 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -264,7 +264,7 @@ export class HaAutomationEditor extends LitElement { } ); } - console.log(changedProps); + if (changedProps.has("creatingNew") && this.creatingNew && this.hass) { const initData = getAutomationEditorInitData(); this._dirty = initData ? true : false;