Skip to content

Commit

Permalink
fix(vendor.dreame): Document error code 117 (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiler129 authored and Hypfer committed Mar 8, 2024
1 parent 8f26ae7 commit 4af21c7
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 @@ -943,6 +943,12 @@ DreameValetudoRobot.MAP_ERROR_CODE = (vendorErrorCode) => {
parameters.subsystem = ValetudoRobotError.SUBSYSTEM.DOCK;
parameters.message = "Mop Dock Clean Water Tank empty";
break;
case "117":
parameters.severity.kind = ValetudoRobotError.SEVERITY_KIND.TRANSIENT;
parameters.severity.level = ValetudoRobotError.SEVERITY_LEVEL.WARNING;
parameters.subsystem = ValetudoRobotError.SUBSYSTEM.NAVIGATION;
parameters.message = "Cannot navigate to the dock";
break;
case "118":
parameters.severity.kind = ValetudoRobotError.SEVERITY_KIND.PERMANENT;
parameters.severity.level = ValetudoRobotError.SEVERITY_LEVEL.WARNING;
Expand Down

0 comments on commit 4af21c7

Please sign in to comment.