From 57938f6a52f15410c022eb8f4a627951a8e0c073 Mon Sep 17 00:00:00 2001 From: Tester23 Date: Mon, 21 Oct 2024 09:54:05 +0200 Subject: [PATCH] add Result stub (fix) --- src/cmnds/cmd_tasmota.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/cmnds/cmd_tasmota.c b/src/cmnds/cmd_tasmota.c index 0d94a073a..f3b4a3474 100644 --- a/src/cmnds/cmd_tasmota.c +++ b/src/cmnds/cmd_tasmota.c @@ -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; }