From 3cb72a1d1745a47bf178f79e4fa6e0e22d2078de Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Thu, 25 Aug 2016 21:37:35 +0200 Subject: [PATCH] small fixes --- resource/web/event_overview.tmpl | 2 +- resource/web/sensor_overview.tmpl | 2 +- src/se/hal/plugin/nutups/NutUpsDevice.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resource/web/event_overview.tmpl b/resource/web/event_overview.tmpl index f1850028..8710d26c 100755 --- a/resource/web/event_overview.tmpl +++ b/resource/web/event_overview.tmpl @@ -17,7 +17,7 @@ {{.getName()}} {{.getDeviceData().getClass().getSimpleName()}} - {{.getDeviceData().getData()}} + {{.getDeviceData()}} {{.getDeviceData().getTimestamp()}}
diff --git a/resource/web/sensor_overview.tmpl b/resource/web/sensor_overview.tmpl index c6e315c8..e0ab9a52 100755 --- a/resource/web/sensor_overview.tmpl +++ b/resource/web/sensor_overview.tmpl @@ -16,7 +16,7 @@ {{.getName()}} {{.getDeviceData().getClass().getSimpleName()}} - {{.getDeviceData().getData()}} + {{.getDeviceData()}} {{.getDeviceData().getTimestamp()}} {{/sensors}} diff --git a/src/se/hal/plugin/nutups/NutUpsDevice.java b/src/se/hal/plugin/nutups/NutUpsDevice.java index f83c6d5a..995495c5 100755 --- a/src/se/hal/plugin/nutups/NutUpsDevice.java +++ b/src/se/hal/plugin/nutups/NutUpsDevice.java @@ -49,7 +49,7 @@ public class NutUpsDevice implements HalSensorConfig{ } public String toString(){ - return "id: "+ upsId; + return "upsId: "+ upsId; } @Override