add Result stub per request

This commit is contained in:
Tester23
2024-10-21 09:30:45 +02:00
parent 5eaf5c7926
commit a69b263aa2
3 changed files with 10 additions and 5 deletions

View File

@ -433,19 +433,24 @@ int taslike_commands_init(){
// those are stubs, they are handled elsewhere so we can have Tasmota style replies
//cmddetail:{"name":"State","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("State", cmnd_stub, NULL);
//cmddetail:{"name":"Sensor","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Sensor", cmnd_stub, NULL);
//cmddetail:{"name":"Status","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Status", cmnd_stub, NULL);
//cmddetail:{"name":"Result","args":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Result", cmnd_stub, NULL);
return 0;
}