Fix issues with lux threshold conditions
This commit is contained in:
@ -23,7 +23,7 @@ if (topic === 'motion' && block === false) {
|
||||
node.send([msg,null,null])
|
||||
} else if (payload === 'off') {
|
||||
msg.duration = newDuration
|
||||
node.status({fill:'red',shape:'ring',text:'Motion Off'})
|
||||
node.status({fill:'red',shape:'ring',text:parseInt(duration) + ' minutes'})
|
||||
node.send([null,msg,null])
|
||||
}
|
||||
} else if (topic === 'timer') {
|
||||
|
Reference in New Issue
Block a user