You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/UniFiControllerThingConfig.java
+12-1
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ public class UniFiControllerThingConfig {
35
35
36
36
privateintrefresh = 10;
37
37
38
+
privateinttimeoutSeconds = 5;
39
+
38
40
privatebooleanunifios = false;
39
41
40
42
publicStringgetHost() {
@@ -82,6 +84,14 @@ private void setRefresh(final int refresh) {
82
84
this.refresh = refresh;
83
85
}
84
86
87
+
publicintgetTimeoutSeconds() {
88
+
returntimeoutSeconds;
89
+
}
90
+
91
+
publicvoidsetTimeoutSeconds(inttimeoutSeconds) {
92
+
this.timeoutSeconds = timeoutSeconds;
93
+
}
94
+
85
95
publicbooleanisUniFiOS() {
86
96
returnunifios;
87
97
}
@@ -98,6 +108,7 @@ public boolean isValid() {
98
108
@Override
99
109
publicStringtoString() {
100
110
return"UniFiControllerConfig{host = " + host + ", port = " + port + ", username = " + username
Copy file name to clipboardexpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/api/UniFiController.java
+5-2
Original file line number
Diff line number
Diff line change
@@ -70,19 +70,21 @@ public class UniFiController {
Copy file name to clipboardexpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/api/UniFiControllerRequest.java
+6-5
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,6 @@ class UniFiControllerRequest<T> {
Copy file name to clipboardexpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/handler/UniFiControllerThingHandler.java
0 commit comments