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"})
|
node.status({fill:"green",shape:"dot",text:"Lights Controlled"})
|
||||||
return[null,msg]
|
return[null,msg]
|
||||||
} else {
|
} 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
|
return null
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user