Fixed bug where device state object was dropped from hue api device

response object. This caused devices to appear offline and invalid
response interpretation by the echo.

Fixes #93
This commit is contained in:
Admin
2016-04-28 12:12:49 -05:00
parent aaaebd0c05
commit f238e05533
4 changed files with 24 additions and 3 deletions

View File

@@ -166,6 +166,8 @@ public class DeviceDescriptor{
}
public DeviceState getDeviceState() {
if(deviceState == null)
deviceState = DeviceState.createDeviceState();
return deviceState;
}