100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
label not in use
Vincentc7a82a47718a
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.tsindex 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()}; }