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/access/api/UnifiAccessApiClient.java
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,23 @@ public synchronized void close() {
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/access/handler/UnifiAccessBaseHandler.java
+28-7Lines changed: 28 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,16 @@ void setOnline() {
73
73
updateStatus(ThingStatus.ONLINE);
74
74
}
75
75
76
+
/**
77
+
* Clears a GONE status when an authoritative topology proves the device exists again;
78
+
* connectivity handling then refines UNKNOWN to ONLINE/OFFLINE as information arrives.
79
+
*/
80
+
voidclearGone() {
81
+
if (getThing().getStatusInfo().getStatusDetail() == ThingStatusDetail.GONE) {
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/access/handler/UnifiAccessBridgeHandler.java
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/access/handler/UnifiAccessDeviceHandler.java
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/access/handler/UnifiAccessDoorHandler.java
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/access/handler/UnifiAccessNotificationRouter.java
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.unifi/src/main/java/org/openhab/binding/unifi/internal/protect/api/priv/client/UniFiProtectPrivateClient.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -185,6 +185,14 @@ public CompletableFuture<Bootstrap> getBootstrap() {
185
185
});
186
186
}
187
187
188
+
/**
189
+
* Drop the cached bootstrap so the next fetch is fresh — used when a WebSocket remove
190
+
* reports a topology change the cached copy cannot reflect.
0 commit comments