minor formatting

blakadder 2019-10-22 13:49:12 +02:00
parent cd9778e5e7
commit 3b706f3108
1 changed files with 5 additions and 6 deletions

@ -34,15 +34,14 @@ The TuyaMCU command value consists of two comma separated parameters: FunctionID
``` ```
TuyaMCU <fnId>,<dpId> TuyaMCU <fnId>,<dpId>
``` ```
where `<fnId>` is FunctionID and `<dpId>` is the DpId to map the function to. where `<fnId>` is FunctionID and `<dpId>` 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. When no parameters are provided `TuyaMCU` prints the current mapped values.
- `TuyaMCU 11,1` - maps Relay1 (FunctionID 11) to DpId 1.
## Identification of FunctionIDs and DpIds ## Identification of FunctionIDs and DpIds