From 1c62ef7c18a69fe4834f3488958b3b9fb4c0fba3 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Tue, 10 May 2016 21:09:12 +0200 Subject: [PATCH] Changed nexa to string to be more readable --- .../hal/plugin/tellstick/protocols/NexaSelfLearning.java | 9 ++++----- src/se/hal/plugin/tellstick/protocols/Oregon0x1A2D.java | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/se/hal/plugin/tellstick/protocols/NexaSelfLearning.java b/src/se/hal/plugin/tellstick/protocols/NexaSelfLearning.java index 5917d182..9a87e041 100755 --- a/src/se/hal/plugin/tellstick/protocols/NexaSelfLearning.java +++ b/src/se/hal/plugin/tellstick/protocols/NexaSelfLearning.java @@ -156,11 +156,10 @@ public class NexaSelfLearning extends TellstickProtocol implements SwitchEventDa public String toString(){ - return "protocol:arctech;model:selflearning;" + - "house:"+house+ - ";group:"+group+ - ";unit:"+unit+ - ";method:"+enable; + return "house:"+house+ + ", group:"+group+ + ", unit:"+unit+ + ", method:"+enable; } @Override diff --git a/src/se/hal/plugin/tellstick/protocols/Oregon0x1A2D.java b/src/se/hal/plugin/tellstick/protocols/Oregon0x1A2D.java index affbd0b4..1008c557 100755 --- a/src/se/hal/plugin/tellstick/protocols/Oregon0x1A2D.java +++ b/src/se/hal/plugin/tellstick/protocols/Oregon0x1A2D.java @@ -74,10 +74,9 @@ public class Oregon0x1A2D extends TellstickProtocol implements PowerConsumptionS } public String toString(){ - return "protocol:oregon;model:0x1A2D;" + - "address:"+address+ - ";temperature:"+temperature+ - ";humidity:"+humidity; + return "address:"+address+ + ", temperature:"+temperature+ + ", humidity:"+humidity; }