@@ -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