Skip to content

Commit

Permalink
fix(vendor.dreame): Add error code mapping for code 121
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jan 16, 2024
1 parent 9969307 commit dbbb58a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/lib/robots/dreame/DreameValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,12 @@ DreameValetudoRobot.MAP_ERROR_CODE = (vendorErrorCode) => {
parameters.subsystem = ValetudoRobotError.SUBSYSTEM.DOCK;
parameters.message = "Mop Dock Tray full of water";
break;
case "121":
parameters.severity.kind = ValetudoRobotError.SEVERITY_KIND.PERMANENT;
parameters.severity.level = ValetudoRobotError.SEVERITY_LEVEL.WARNING;
parameters.subsystem = ValetudoRobotError.SUBSYSTEM.DOCK;
parameters.message = "Auto-Empty Dock dust bag full or dust duct clogged";
break;
}

return new ValetudoRobotError(parameters);
Expand Down

0 comments on commit dbbb58a

Please sign in to comment.