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

16 lines
438 B
JavaScript

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