mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 16:17:30 +00:00
Added reinitialize and stop commands in prep for building the config
file handling.
This commit is contained in:
@@ -18,6 +18,9 @@ public class BridgeSettings {
|
||||
private String nestuser;
|
||||
private String nestpwd;
|
||||
private boolean nestconfigured;
|
||||
private String configfile;
|
||||
private boolean restart;
|
||||
private boolean stop;
|
||||
|
||||
public String getUpnpConfigAddress() {
|
||||
return upnpconfigaddress;
|
||||
@@ -109,6 +112,24 @@ public class BridgeSettings {
|
||||
public void setButtonsleep(Integer buttonsleep) {
|
||||
this.buttonsleep = buttonsleep;
|
||||
}
|
||||
public boolean isRestart() {
|
||||
return restart;
|
||||
}
|
||||
public void setRestart(boolean restart) {
|
||||
this.restart = restart;
|
||||
}
|
||||
public boolean isStop() {
|
||||
return stop;
|
||||
}
|
||||
public void setStop(boolean stop) {
|
||||
this.stop = stop;
|
||||
}
|
||||
public String getConfigfile() {
|
||||
return configfile;
|
||||
}
|
||||
public void setConfigfile(String configfile) {
|
||||
this.configfile = configfile;
|
||||
}
|
||||
public Boolean isValidVera() {
|
||||
List<NamedIP> devicesList = this.veraaddress.getDevices();
|
||||
if(devicesList.get(0).getIp().contains(Configuration.DEFAULT_ADDRESS))
|
||||
|
||||
Reference in New Issue
Block a user