From dbbb58aacae6706f235b87c1018cf1f4aa855866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Beye?= Date: Tue, 16 Jan 2024 17:38:03 +0100 Subject: [PATCH] fix(vendor.dreame): Add error code mapping for code 121 --- backend/lib/robots/dreame/DreameValetudoRobot.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/lib/robots/dreame/DreameValetudoRobot.js b/backend/lib/robots/dreame/DreameValetudoRobot.js index 512b7069ece..ee7b7994770 100644 --- a/backend/lib/robots/dreame/DreameValetudoRobot.js +++ b/backend/lib/robots/dreame/DreameValetudoRobot.js @@ -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);