Fix holiday mode not resetting
This commit is contained in:
@ -7,6 +7,7 @@ const holiday = currentholiday.toLowerCase()
|
|||||||
|
|
||||||
if (frontPorchToggle === 'on' && deliveryMode === 'off') {
|
if (frontPorchToggle === 'on' && deliveryMode === 'off') {
|
||||||
if (holidaymode === 'on') {
|
if (holidaymode === 'on') {
|
||||||
|
msg.holiday = holiday
|
||||||
node.status({fill:"blue",shape:"dot",text:"Holiday On"})
|
node.status({fill:"blue",shape:"dot",text:"Holiday On"})
|
||||||
node.send([msg,null])
|
node.send([msg,null])
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user