Skip to content

Commit e01d723

Browse files
committed
Change default tuya protocol version for get/set functions back to 3.1
1 parent 6c7ce43 commit e01d723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ program
5757
.option('--cid [cid_zigbee_device]', 'if specified, use device id of zigbee gateway and cid of subdevice to get its status')
5858
.option('--dps [dps]', 'property index to get')
5959
.option('--full', 'get full response payload', false)
60-
.option('--protocol-version [version]', 'tuya protocol version', parseFloat, 3.3)
60+
.option('--protocol-version [version]', 'tuya protocol version', parseFloat, 3.1)
6161
.action(options => {
6262
control.get(conf, options);
6363
});
@@ -74,7 +74,7 @@ program
7474
.option('--set <set>', 'value to set')
7575
.option('--raw-value', 'pass the raw set value without attempting to parse it from a string')
7676
.option('--dps [dps]', 'DPS index to set', 1)
77-
.option('--protocol-version [version]', 'tuya protocol version', parseFloat, 3.3)
77+
.option('--protocol-version [version]', 'tuya protocol version', parseFloat, 3.1)
7878
.action(options => {
7979
control.set(conf, options);
8080
});

0 commit comments

Comments
 (0)