Small adjustment in Kallen's timer flow
This commit is contained in:
@ -6,7 +6,7 @@ if (msg.lights === 'on') {
|
||||
node.status({fill:"green",shape:"dot",text:"Lights Controlled"})
|
||||
return[null,msg]
|
||||
} else {
|
||||
node.status({fill:"red",shape:"ring",text:"N/A in " + msg.room})
|
||||
node.status({fill:"red",shape:"ring",text:`N/A in ${msg.room}`})
|
||||
return null
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user