Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
try {
this.ipAddress = InetAddress.getByName(configuration.ipAddress);
} catch (UnknownHostException e1) {
- updateStatus(ThingStatus.UNINITIALIZED, ThingStatusDetail.HANDLER_INITIALIZING_ERROR,
+ updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR,
"IP Address not resolvable");
return;
}
}
} catch (CGateException e) {
logger.warn("Cannot load C-Bus network {}", networkID, e);
- updateStatus(ThingStatus.UNINITIALIZED, ThingStatusDetail.COMMUNICATION_ERROR);
+ updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR);
}
updateStatus();
}