diff --git a/pom.xml b/pom.xml
index 7e8c09b..307bd0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.bwssystems.HABridge
ha-bridge
- 2.0.2
+ 2.0.3
jar
HA Bridge
diff --git a/src/main/java/com/bwssystems/hue/HueUtil.java b/src/main/java/com/bwssystems/hue/HueUtil.java
index 4c955d2..d2806f0 100644
--- a/src/main/java/com/bwssystems/hue/HueUtil.java
+++ b/src/main/java/com/bwssystems/hue/HueUtil.java
@@ -21,11 +21,7 @@ public class HueUtil {
public static final String registerWithHue(HttpClient anHttpClient, String ipAddress, String aName, String theUser, HueErrorStringSet errorStringSet) {
UserCreateRequest theLogin = new UserCreateRequest();
- theLogin.setDevicetype("HA Bridge");
- if(theUser == null)
- theLogin.setUsername("habridge");
- else
- theLogin.setUsername(theUser);
+ theLogin.setDevicetype("HABridge#MyMachine");
HttpPost postRequest = new HttpPost("http://" + ipAddress + HUE_REQUEST);
ContentType parsedContentType = ContentType.parse("application/json");
StringEntity requestBody = new StringEntity(new Gson().toJson(theLogin), parsedContentType);