Skip to content

Commit

Permalink
[kostalinverter] Fix exception due to invalid thing status update (#1…
Browse files Browse the repository at this point in the history
…4386)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur authored Feb 18, 2023
1 parent b9a7e1f commit e62503f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private final void authenticate() {
if (statusCode == 503) {
// internal communication error
// This can happen if the device is not ready yet for communication
updateStatus(ThingStatus.UNINITIALIZED);
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR);
return;
}
} catch (InterruptedException | TimeoutException | ExecutionException e) {
Expand Down

0 comments on commit e62503f

Please sign in to comment.