Skip to content

Commit

Permalink
Set transtime to 0 by default. Koenkk/zigbee2mqtt#115
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Aug 9, 2018
1 parent d8a790a commit 07eb378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/toZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const converters = {
cmd: 'moveToLevelWithOnOff',
zclData: {
level: value,
transtime: message.hasOwnProperty('transition') ? message.transition * 10 : 1,
transtime: message.hasOwnProperty('transition') ? message.transition * 10 : 0,
},
};
},
Expand Down

0 comments on commit 07eb378

Please sign in to comment.