diff --git a/bundles/org.openhab.ui/web/src/components/tags/semantics-picker.vue b/bundles/org.openhab.ui/web/src/components/tags/semantics-picker.vue index 6d592cbd97..cb8ca8bf2b 100644 --- a/bundles/org.openhab.ui/web/src/components/tags/semantics-picker.vue +++ b/bundles/org.openhab.ui/web/src/components/tags/semantics-picker.vue @@ -64,8 +64,7 @@ export default { this.semanticClass = value } this.item.tags = this.item.tags.filter((t) => !this.semanticType(t) && !this.isSemanticPropertyTag(t)) - if (!value) return - this.item.tags.push(this.semanticClass) + if (this.semanticClass) this.item.tags.push(this.semanticClass) if (this.semanticType(this.semanticClass) === 'Point' && this.semanticProperty.length) { this.item.tags.push(this.semanticProperty) }