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