Skip to content

Commit

Permalink
fix(vendor.dreame): Add DreameCarpetModeControlCapability to DreameMo…
Browse files Browse the repository at this point in the history
…pValetudoRobots such as the W10
  • Loading branch information
Hypfer committed Apr 19, 2023
1 parent 104ec64 commit c39cd7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/lib/robots/dreame/DreameMopValetudoRobot.js
Expand Up @@ -84,6 +84,12 @@ class DreameMopValetudoRobot extends DreameGen2ValetudoRobot {
},
}));

this.registerCapability(new capabilities.DreameCarpetModeControlCapability({
robot: this,
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.VACUUM_2.SIID,
piid: DreameGen2ValetudoRobot.MIOT_SERVICES.VACUUM_2.PROPERTIES.CARPET_MODE.PIID
}));

this.registerCapability(new capabilities.DreameKeyLockCapability({
robot: this,
siid: DreameGen2ValetudoRobot.MIOT_SERVICES.VACUUM_2.SIID,
Expand Down

0 comments on commit c39cd7e

Please sign in to comment.