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:
Jacob Laursen 2024-03-14 22:24:36 +01:00 committed by Ciprian Pascu
parent 9157bbdfd5
commit db2451abb1

View File

@ -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);
}