Skip to content

Commit

Permalink
OfflineCauseStatus JSON always shows errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Guimaraes committed Dec 23, 2022
1 parent cc92e17 commit 30b5973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/statuses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class OfflineCauseStatus extends DeviceStatus {
const result = super.toBaseJSON("OfflineCauseStatus");
for (let i = 0; i < 8; i++) {
let label = "";
let status = Status.Error;
let status = Status.Ok;
switch (i) {
case 2:
if (this.bitsAsc[i] === 1) {
Expand Down

0 comments on commit 30b5973

Please sign in to comment.