Skip to content

Commit 3759c3b

Browse files
committed
update
1 parent 912d22a commit 3759c3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/tuya/tuya.app.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,13 @@ export default {
120120
path: `/v1.0/devices/${deviceId}/functions`,
121121
});
122122
},
123-
sendInstructionsToDevice({ deviceId }) {
123+
sendInstructionsToDevice({
124+
deviceId, data,
125+
}) {
124126
return this._makeRequest({
125127
method: "POST",
126128
path: `/v1.0/devices/${deviceId}/commands`,
129+
data,
127130
});
128131
},
129132
},

0 commit comments

Comments
 (0)