diff --git a/src/panels/config/automation/blueprint-automation-editor.ts b/src/panels/config/automation/blueprint-automation-editor.ts index 3197fd2b92..8eb563bd10 100644 --- a/src/panels/config/automation/blueprint-automation-editor.ts +++ b/src/panels/config/automation/blueprint-automation-editor.ts @@ -184,7 +184,7 @@ export class HaBlueprintAutomationEditor extends LitElement { ev.stopPropagation(); const target = ev.target as any; const key = target.key; - const value = ev.detail?.value || target.value; + const value = ev.detail?.value ?? target.value; if ( (this.config.use_blueprint.input && this.config.use_blueprint.input[key] === value) ||