mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Fix zero for a slider in a blueprint (#14053)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
907466d060
commit
2afbfb01bd
@ -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) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user