@Sandy2503 well, they are there
monitorControl: function(action, opts, res) {
let status = "unknown";
let offArr = ["false","TV is Off","standby"];
let monitorOnCommand = (this.initialized && "monitorOnCommand" in this.thisConfig.customCommand) ?
this.thisConfig.customCommand.monitorOnCommand :
"tvservice --preferred && sudo chvt 6 && sudo chvt 7";
let monitorOffCommand = (this.initialized && "monitorOffCommand" in this.thisConfig.customCommand) ?
this.thisConfig.customCommand.monitorOffCommand :
"tvservice -o";
let monitorStatusCommand = (this.initialized && "monitorStatusCommand" in this.thisConfig.customCommand) ?
this.thisConfig.customCommand.monitorStatusCommand :
"tvservice --status";
just not in the same form…
also, the doc describes how to specify different ones without changing the code
https://github.com/Jopyth/MMM-Remote-Control#using-custom-commands