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
accidentally removed this
Vincent538644d004fe
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.tsindex 6519b0ad4..80b7f4c4d 100644--- a/ui/component/or-attribute-card/src/index.ts+++ b/ui/component/or-attribute-card/src/index.ts@@ -285,6 +285,8 @@ export class OrAttributeCard extends LitElement {protected async getData() {const thisMoment = moment(this.now);+ this.asset = await this.getAssetById(this.assetId);+const currentPeriod = {start: thisMoment.startOf(this.period).toDate().getTime(),end: thisMoment.endOf(this.period).toDate().getTime()