From b6ed8acd028ba7dd5ca743840d9242be93bfc029 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Mon, 26 Jun 2023 02:38:39 -0700 Subject: [PATCH] Dont mark blueprint fields with defaults as required (#16785) --- src/panels/config/automation/blueprint-automation-editor.ts | 3 ++- src/panels/config/script/blueprint-script-editor.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/panels/config/automation/blueprint-automation-editor.ts b/src/panels/config/automation/blueprint-automation-editor.ts index 3131a44b26..74d3d0586e 100644 --- a/src/panels/config/automation/blueprint-automation-editor.ts +++ b/src/panels/config/automation/blueprint-automation-editor.ts @@ -138,11 +138,12 @@ export class HaBlueprintAutomationEditor extends LitElement { this.config.use_blueprint.input[key]) ?? value?.default} .disabled=${this.disabled} + .required=${value?.default === undefined} @value-changed=${this._inputChanged} >` : html`` : html`