mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
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:
@@ -166,6 +166,8 @@ public class DeviceDescriptor{
|
||||
}
|
||||
|
||||
public DeviceState getDeviceState() {
|
||||
if(deviceState == null)
|
||||
deviceState = DeviceState.createDeviceState();
|
||||
return deviceState;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user