mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[livisismarthome] Small change in handleRemoval (#14975)
Follow-up #14946 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
762fa36415
commit
a65574a336
@ -365,10 +365,7 @@ public class LivisiBridgeHandler extends BaseBridgeHandler
|
||||
|
||||
@Override
|
||||
public void handleRemoval() {
|
||||
OAuthClientService oAuthService = this.oAuthService;
|
||||
if (oAuthService != null) {
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
}
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user