Skip to content

Commit 47c0ca3

Browse files
authored
Merge pull request #123 from A-Helberg/master
control.js: get all properties returns json
2 parents 79802e1 + 30a878b commit 47c0ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async function get(config, options) {
5151
tuya.disconnect();
5252

5353
if (options.all) {
54-
console.log(properties);
54+
console.log(JSON.stringify(properties));
5555
} else {
5656
console.log(properties.dps[options.dps]);
5757
}

0 commit comments

Comments
 (0)