diff --git a/bundles/org.openhab.binding.groupepsa/src/main/java/org/openhab/binding/groupepsa/internal/bridge/GroupePSABridgeHandler.java b/bundles/org.openhab.binding.groupepsa/src/main/java/org/openhab/binding/groupepsa/internal/bridge/GroupePSABridgeHandler.java index 94623f750..5a830e158 100644 --- a/bundles/org.openhab.binding.groupepsa/src/main/java/org/openhab/binding/groupepsa/internal/bridge/GroupePSABridgeHandler.java +++ b/bundles/org.openhab.binding.groupepsa/src/main/java/org/openhab/binding/groupepsa/internal/bridge/GroupePSABridgeHandler.java @@ -143,9 +143,7 @@ public class GroupePSABridgeHandler extends BaseBridgeHandler { @Override public void handleRemoval() { - if (oAuthService != null) { - oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString()); - } + oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString()); super.handleRemoval(); }