Skip to content

Commit

Permalink
fix ON_TIME (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Mar 19, 2019
1 parent 8a84654 commit c518596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/redmatic-homekit-homematic-garage.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function (RED) {
if (ps && ps.ON_TIME) {
this.ccu.methodCall(config.ifaceActuator, 'putParamset', [channel, 'VALUES', {
STATE: true,
ON_TIME: parseFloat(config.onTime) || 0.4
ON_TIME: this.ccu.paramCast(config.ifaceActuator, channel, 'VALUES', 'ON_TIME', config.onTime || 0.4)
}]).then(() => {
if (revert) {
this.valueCurrent = 4;
Expand Down

0 comments on commit c518596

Please sign in to comment.