From 203ed0b5d30ec9739e7d99cee8573df405e5bc0e Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 28 Oct 2015 16:42:23 -0500 Subject: [PATCH] Updated pom to use new harmony client version. --- pom.xml | 2 +- src/main/java/com/bwssystems/HABridge/hue/HueMulator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a0395bc..569cd38 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ com.github.bwssytems harmony-java-client - 1.0.4 + 1.0.6 com.sparkjava diff --git a/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java b/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java index 617a23b..225d185 100644 --- a/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java +++ b/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java @@ -212,7 +212,7 @@ public class HueMulator { url = device.getOffUrl(); } - if(device.getDeviceType() == "activity") + if(device.getDeviceType().contains("activity")) { log.debug("executing activity to Harmony: " + url); myHarmony.startActivity(url);