diff --git a/presence/tina-processing.js b/presence/tina-processing.js index 3a7c065..5e1da8b 100644 --- a/presence/tina-processing.js +++ b/presence/tina-processing.js @@ -5,6 +5,9 @@ const tinawork = msg.tinawork if (tinawork === 'on' && workEndZone === 'on') { node.status({fill:"green",shape:"dot",text:"Activated"}) return[msg,null] +} else if (tinawork === 'on' && workEndZone === 'off') { + node.status({fill:"yellow",shape:"dot",text:"Not time to leave yet"}) + return null } else if (tinawork === 'off') { node.status({fill:"yellow",shape:"dot",text:"No Work Today"}) return null