Valetudo/backend/lib/core/capabilities/CarpetModeControlCapability.js

16 lines
413 B
JavaScript

const SimpleToggleCapability = require("./SimpleToggleCapability");
/**
* @template {import("../ValetudoRobot")} T
* @extends SimpleToggleCapability<T>
*/
class CarpetModeControlCapability extends SimpleToggleCapability {
getType() {
return CarpetModeControlCapability.TYPE;
}
}
CarpetModeControlCapability.TYPE = "CarpetModeControlCapability";
module.exports = CarpetModeControlCapability;