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> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
9157bbdfd5
commit
db2451abb1
@ -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