From 3b706f31086fe88f74ce4aa0b691a325a46c0caf Mon Sep 17 00:00:00 2001 From: blakadder Date: Tue, 22 Oct 2019 13:49:12 +0200 Subject: [PATCH] minor formatting --- TuyaMCU.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/TuyaMCU.md b/TuyaMCU.md index 29339be0..2b688867 100644 --- a/TuyaMCU.md +++ b/TuyaMCU.md @@ -34,15 +34,14 @@ The TuyaMCU command value consists of two comma separated parameters: FunctionID ``` TuyaMCU , ``` -where `` is FunctionID and `` is the DpId to map the function to. +where `` is FunctionID and `` is the DpId to map the function to. +- `TuyaMCU 11,1` maps Relay1 (FunctionID 11) to DpId 1. -If any existing entry with same `fnId` or `dpId` is already present, it will be updated to the new value. +If any existing entry with same `fnId` or `dpId` is already present, it will be updated to the new value. -If `fnId` or `dpId` is `0` the entry is removed. +Entry is removed when `fnId` or `dpId` is `0`. -If no parameters are provided `TuyaMCU` prints the current mapped values. - -- `TuyaMCU 11,1` - maps Relay1 (FunctionID 11) to DpId 1. +When no parameters are provided `TuyaMCU` prints the current mapped values. ## Identification of FunctionIDs and DpIds