diff --git a/bundles/org.openhab.binding.tibber/src/main/java/org/openhab/binding/tibber/internal/handler/TibberHandler.java b/bundles/org.openhab.binding.tibber/src/main/java/org/openhab/binding/tibber/internal/handler/TibberHandler.java index 9bfda0ca74e..fb2e64fc4ed 100644 --- a/bundles/org.openhab.binding.tibber/src/main/java/org/openhab/binding/tibber/internal/handler/TibberHandler.java +++ b/bundles/org.openhab.binding.tibber/src/main/java/org/openhab/binding/tibber/internal/handler/TibberHandler.java @@ -346,10 +346,8 @@ public class TibberHandler extends BaseThingHandler { Thread.sleep(10 * 1000); } catch (InterruptedException e) { } - Session session = this.session; - if (!session.isOpen()) { - close(); - logger.warn("Unable to establish websocket session"); + if (!isConnected()) { + logger.warn("Unable to establish websocket session - Reattempting connection on next refresh"); } else { logger.debug("Websocket session established"); }