From d10045eac1a2dda1a8e50cf4a267cf1c4d9a2935 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 30 Jan 2020 14:34:53 +0100 Subject: [PATCH] Remove log --- src/panels/config/automation/ha-automation-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;