Fixed issue with "Test Dim" button not presenting the value selector

when there was a body with a dim command. Added ability to specifically
set the web server address port.

Fixes #225
Fixes #217
This commit is contained in:
Admin
2016-11-08 11:27:43 -06:00
parent 3702de8efd
commit 84fb79f9d9
6 changed files with 27 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ public class BridgeSettingsDescriptor {
private Map<String, WhitelistEntry> whitelist;
private boolean settingsChanged;
private String myechourl;
private String webaddress;
public BridgeSettingsDescriptor() {
super();
@@ -47,6 +48,7 @@ public class BridgeSettingsDescriptor {
this.whitelist = null;
this.settingsChanged = false;
this.myechourl = "echo.amazon.com/#cards";
this.webaddress = "0.0.0.0";
}
public String getUpnpConfigAddress() {
return upnpconfigaddress;
@@ -216,6 +218,12 @@ public class BridgeSettingsDescriptor {
public void setMyechourl(String myechourl) {
this.myechourl = myechourl;
}
public String getWebaddress() {
return webaddress;
}
public void setWebaddress(String webaddress) {
this.webaddress = webaddress;
}
public Boolean isValidVera() {
if(this.getVeraAddress() == null || this.getVeraAddress().getDevices().size() <= 0)
return false;