Fix xmas lights not being shut off

This commit is contained in:
2024-12-15 16:03:57 -05:00
parent fd175c7362
commit fcc37c2cc5

View File

@ -330,7 +330,7 @@ node.log("----- Time-based Automations: End Parameters -----")
if (vacation === 'off') {
if (time === "day") {
node.status({fill:"green",shape:"dot",text:"Sunrise Flow"})
node.send([null,[sendLights,sendBooleanOff],sendExtraLights])
node.send([null,[sendLights,sendBooleanOff],null,sendExtraLights])
setTimeout(() => {
node.send([null,[sendSleepOff,sendAdaptive,sendSceneResetMain,sendSceneResetDesk],null,null])
if (holidayMode === 'on' && holidayHold === 'off') {