Valetudo/backend/lib/robots/roborock/capabilities/RoborockMappingPassCapabili...

13 lines
391 B
JavaScript

const MappingPassCapability = require("../../../core/capabilities/MappingPassCapability");
/**
* @extends MappingPassCapability<import("../RoborockValetudoRobot")>
*/
class RoborockMappingPassCapability extends MappingPassCapability {
async startMapping() {
await this.robot.sendCommand("app_start_build_map", [], {});
}
}
module.exports = RoborockMappingPassCapability;