From 696306dc2cd692914fc666620d6228e341552287 Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Thu, 14 Mar 2024 22:24:36 +0100 Subject: [PATCH] Fix account bridge staying offline (#16520) Fixes #16518 Signed-off-by: Jacob Laursen --- .../binding/netatmo/internal/handler/ApiBridgeHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/ApiBridgeHandler.java b/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/ApiBridgeHandler.java index 4dec67d208156..5790076af8a5b 100644 --- a/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/ApiBridgeHandler.java +++ b/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/ApiBridgeHandler.java @@ -340,6 +340,7 @@ public synchronized T executeUri(URI uri, HttpMethod method, Class clazz, logger.trace(" -returned: code {} body {}", statusCode, responseBody); if (statusCode == Code.OK) { + updateStatus(ThingStatus.ONLINE); return deserializer.deserialize(clazz, responseBody); }