Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI updates: Allow multiple attribute writes using the same value

Rich Turner2f426d225b61
diff --git a/ui/component/or-attribute-input/src/index.ts b/ui/component/or-attribute-input/src/index.ts
index ac87fae32..142c054a7 100644
--- a/ui/component/or-attribute-input/src/index.ts
+++ b/ui/component/or-attribute-input/src/index.ts
@@ -827,7 +827,7 @@ export class OrAttributeInput extends subscribe(manager)(translate(i18next)(LitE
}
if (this._newValue === undefined) {
- return;
+ this._newValue = this.getValue();
}
const oldValue = this.getValue();