Sleep switch off will cancel Emma's door alert

This commit is contained in:
2025-03-26 14:52:16 -04:00
parent 3574445be0
commit 9620f4b4f7

View File

@ -86,7 +86,7 @@ if (topic === 'door' && payload === 'on') {
} else if (topic === 'timer') {
node.status({fill:'green',shape:'dot',text:'Timer Finished'})
node.send([alertTTS,msg,null])
} else if (topic === 'button') {
} else if (topic === 'cancel') {
node.status({fill:'green',shape:'dot',text:'Cancel Button Pressed'})
node.send([null,null,msg])
} else if (topic === 'door' && payload === 'off') {