Skip to content

Commit

Permalink
fix!(vendor.dreame): The mop consumable has been removed from X/L40 f…
Browse files Browse the repository at this point in the history
…irmwares and equivalent
  • Loading branch information
Hypfer committed Jan 6, 2025
1 parent b798ebb commit d7f8e75
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
8 changes: 0 additions & 8 deletions backend/lib/robots/dreame/DreameL40UltraValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ class DreameL40UltraValetudoRobot extends DreameGen4ValetudoRobot {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.PROPERTIES.TIME_LEFT.PIID
},
mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.PROPERTIES.TIME_LEFT.PIID
},
},
miot_actions: {
reset_main_brush: {
Expand All @@ -112,10 +108,6 @@ class DreameL40UltraValetudoRobot extends DreameGen4ValetudoRobot {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.ACTIONS.RESET.AIID
},
reset_mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.ACTIONS.RESET.AIID
}
},
}));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ class DreameMovaP10ProUltraValetudoRobot extends DreameGen4ValetudoRobot {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.PROPERTIES.TIME_LEFT.PIID
},
mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.PROPERTIES.TIME_LEFT.PIID
},
},
miot_actions: {
reset_main_brush: {
Expand All @@ -112,10 +108,6 @@ class DreameMovaP10ProUltraValetudoRobot extends DreameGen4ValetudoRobot {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.ACTIONS.RESET.AIID
},
reset_mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.ACTIONS.RESET.AIID
}
},
}));

Expand Down
10 changes: 1 addition & 9 deletions backend/lib/robots/dreame/DreameX40MasterValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ class DreameX40MasterValetudoRobot extends DreameGen4ValetudoRobot {
sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.PROPERTIES.TIME_LEFT.PIID
},
mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.PROPERTIES.TIME_LEFT.PIID
},
}
},
miot_actions: {
reset_main_brush: {
Expand All @@ -111,10 +107,6 @@ class DreameX40MasterValetudoRobot extends DreameGen4ValetudoRobot {
reset_sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.ACTIONS.RESET.AIID
},
reset_mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.ACTIONS.RESET.AIID
}
},
}));
Expand Down
10 changes: 1 addition & 9 deletions backend/lib/robots/dreame/DreameX40UltraValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ class DreameX40UltraValetudoRobot extends DreameGen4ValetudoRobot {
sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.PROPERTIES.TIME_LEFT.PIID
},
mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.PROPERTIES.TIME_LEFT.PIID
},
}
},
miot_actions: {
reset_main_brush: {
Expand All @@ -111,10 +107,6 @@ class DreameX40UltraValetudoRobot extends DreameGen4ValetudoRobot {
reset_sensor: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.SENSOR.ACTIONS.RESET.AIID
},
reset_mop: {
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.SIID,
aiid: DreameGen2ValetudoRobot.MIOT_SERVICES.MOP.ACTIONS.RESET.AIID
}
},
}));
Expand Down

0 comments on commit d7f8e75

Please sign in to comment.