mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Fix account bridge staying offline (#16520)
Fixes #16518 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
2f079bfb71
commit
696306dc2c
@ -340,6 +340,7 @@ public class ApiBridgeHandler extends BaseBridgeHandler {
|
||||
logger.trace(" -returned: code {} body {}", statusCode, responseBody);
|
||||
|
||||
if (statusCode == Code.OK) {
|
||||
updateStatus(ThingStatus.ONLINE);
|
||||
return deserializer.deserialize(clazz, responseBody);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user