Fix account bridge staying offline (#16520)

Fixes #16518

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2024-03-14 22:24:36 +01:00
parent 2f079bfb71
commit 696306dc2c

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