Skip to content

armgit / core

Public Imported from GitHub
0

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

no promise.all() anymore so no point in returning anything

Vincentf380461a8a9d
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index 0cf3d5abf..990cbc4c9 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -622,7 +622,6 @@ export class OrAttributeCard extends LitElement {
this.data = datapoints || [];
this.mainValue = this.getHighestValue(this.data);
this.formattedMainValue = this.getFormattedValue(this.mainValue);
- return this.mainValue;
this.error = false;