mirror of https://github.com/Hypfer/Valetudo.git
16 lines
391 B
JavaScript
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;
|