diff --git a/docs/autoexecExamples.md b/docs/autoexecExamples.md index 65823311b..06c6a14b3 100644 --- a/docs/autoexecExamples.md +++ b/docs/autoexecExamples.md @@ -10,7 +10,8 @@ tuyaMcu_setBaudRate 115200 tuyaMcu_setDimmerRange 1 1000 // linkTuyaMCUOutputToChannel dpId verType tgChannel linkTuyaMCUOutputToChannel 1 bool 1 -linkTuyaMCUOutputToChannel 2 val 2``` +linkTuyaMCUOutputToChannel 2 val 2 +``` [Configuration for QIACHIP Universal WIFI Ceiling Fan Light Remote Control Kit - BK7231N - CB2S with TuyaMCU](https://www.elektroda.com/rtvforum/topic3895301.html)* @@ -41,6 +42,7 @@ linkTuyaMCUOutputToChannel 6 4 5 // //dpId 7, dataType 2-DP_TYPE_VALUE = timer remaining setChannelType 6 ReadOnly -linkTuyaMCUOutputToChannel 7 2 6``` +linkTuyaMCUOutputToChannel 7 2 6 +``` diff --git a/scripts/getcommands.js b/scripts/getcommands.js index 15052d3bb..f2ef6dbd4 100644 --- a/scripts/getcommands.js +++ b/scripts/getcommands.js @@ -814,6 +814,7 @@ for (let i = 0; i < autoexecExamples.length; i++) { autoexecsmdshort += '\n'; autoexecsmdshort += "```"; autoexecsmdshort += exe.fileText; + autoexecsmdshort += '\n'; autoexecsmdshort += "```"; autoexecsmdshort += '\n';