Skip to content

armgit / core

Public Imported from GitHub
0

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

add a second card

Vincenta2a708734d24
diff --git a/ui/app/main/src/components/pages/page-insights.ts b/ui/app/main/src/components/pages/page-insights.ts
index 1575cb9c7..8404a29a3 100644
--- a/ui/app/main/src/components/pages/page-insights.ts
+++ b/ui/app/main/src/components/pages/page-insights.ts
@@ -90,15 +90,14 @@ class PageInsights extends connect(store)(LitElement) {
protected render(): TemplateResult | void {
const assetId: string = "2U48805AfxblLl1P5dCifA";
- const attributeName: string = "location";
+ const attributeName: string = "light1PowerConsumption";
+ const attributeName2: string = "light1Dimmer";
return html`
<div id="wrapper">
<div id="container">
<or-attribute-card .assetId="${assetId}" .attributeName="${attributeName}"></or-attribute-card>
- <or-attribute-card .assetId="${assetId}" .attributeName="${attributeName}"></or-attribute-card>
- <or-attribute-card .assetId="${assetId}" .attributeName="${attributeName}"></or-attribute-card>
- <or-attribute-card .assetId="${assetId}" .attributeName="${attributeName}"></or-attribute-card>
+ <or-attribute-card .assetId="${assetId}" .attributeName="${attributeName2}"></or-attribute-card>
<!--<div class="row">-->
<!-- <p>temp text</p>-->
<!--</div>-->