Tuya smart device allows you to send multiples according to read me.
e.g.
{"multiple":true,"data":{"20":true,"22":1}}
[{"id":"c2907bf7dce13692","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":130,"y":3340,"wires":[["11dc7557b30c4aeb"]]},{"id":"11dc7557b30c4aeb","type":"switch","z":"b9860b4b9de8c8da","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":270,"y":3360,"wires":[["a85cd9d1c803e9fc"],["f5380c309d7677bc"]]},{"id":"0b9f3fcfd3515f88","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"num","x":130,"y":3380,"wires":[["11dc7557b30c4aeb"]]},{"id":"a85cd9d1c803e9fc","type":"change","z":"b9860b4b9de8c8da","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"dps\":20,\"set\":false}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":3340,"wires":[["b169675c9f0deb73"]]},{"id":"f5380c309d7677bc","type":"change","z":"b9860b4b9de8c8da","name":"","rules":[{"t":"set","p":"hold","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"{\"multiple\":true, \"data\":{\"20\":true}}","tot":"json"},{"t":"move","p":"hold","pt":"msg","to":"payload.data[\"22\"]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":3380,"wires":[["b169675c9f0deb73"]]},{"id":"b169675c9f0deb73","type":"debug","z":"b9860b4b9de8c8da","name":"debug 298","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":3300,"wires":[]}]