Valetudo/backend/lib/robots/roborock/capabilities/RoborockLocateCapability.js

16 lines
391 B
JavaScript

const LocateCapability = require("../../../core/capabilities/LocateCapability");
/**
* @extends LocateCapability<import("../RoborockValetudoRobot")>
*/
class RoborockLocateCapability extends LocateCapability {
/**
* @returns {Promise<void>}
*/
async locate() {
await this.robot.sendCommand("find_me", [], {});
}
}
module.exports = RoborockLocateCapability;