mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-16 18:24:36 +00:00
Updated description xml to remove null service list. Most likely culprit
of /null calls to spark. Started adding FHEM integration
This commit is contained in:
@@ -372,6 +372,8 @@ public class SystemControl {
|
||||
put(SYSTEM_CONTEXT + "/settings", (request, response) -> {
|
||||
log.debug("save bridge settings requested from " + request.ip() + " with body: " + request.body());
|
||||
BridgeSettingsDescriptor newBridgeSettings = new Gson().fromJson(request.body(), BridgeSettingsDescriptor.class);
|
||||
if(newBridgeSettings.getUpnpsenddelay() > 15000)
|
||||
newBridgeSettings.setUpnpsenddelay(15000);
|
||||
bridgeSettings.save(newBridgeSettings);
|
||||
response.status(HttpStatus.SC_OK);
|
||||
response.type("application/json");
|
||||
|
||||
Reference in New Issue
Block a user