Skip to content

armgit / core

Public Imported from GitHub
0

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

label not in use

Vincentc7a82a47718a
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index 5c9dcb387..6dfaf0e78 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -652,7 +652,6 @@ export class OrAttributeCard extends LitElement {
const attributeDescriptor = AssetModelUtil.getAttributeDescriptorFromAsset(this.attributeName!);
const unit = Util.getMetaValue(MetaItemType.UNIT_TYPE, attr, attributeDescriptor);
- let label = Util.getAttributeLabel(attr, attributeDescriptor);
if (!format) { return {value: roundedVal, unit: unit, formattedValue: roundedVal.toString()}; }