mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 16:17:30 +00:00
Finished updating settings editor and reinit control. Starting number
slider for input.
This commit is contained in:
@@ -245,7 +245,7 @@ public class HueMulator {
|
||||
DeviceDescriptor device = repository.findOne(lightId);
|
||||
if (device == null) {
|
||||
response.status(HttpStatus.SC_NOT_FOUND);
|
||||
return null;
|
||||
return "[{\"error\":{\"type\": 3, \"address\": \"/lights/" + lightId + ",\"description\": \"Object not found\"}}]";
|
||||
} else {
|
||||
log.debug("found device named: " + device.getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user