mirror of https://github.com/Hypfer/Valetudo.git
13 lines
488 B
JavaScript
13 lines
488 B
JavaScript
const AutoEmptyDockManualTriggerCapability = require("../../../core/capabilities/AutoEmptyDockManualTriggerCapability");
|
|
|
|
/**
|
|
* @extends AutoEmptyDockManualTriggerCapability<import("../RoborockValetudoRobot")>
|
|
*/
|
|
class RoborockAutoEmptyDockManualTriggerCapability extends AutoEmptyDockManualTriggerCapability {
|
|
async triggerAutoEmpty() {
|
|
await this.robot.sendCommand("app_start_collect_dust", [], {});
|
|
}
|
|
}
|
|
|
|
module.exports = RoborockAutoEmptyDockManualTriggerCapability;
|