Help With Garden Flow

I need help with this node. It is set to come on, fade through some colors and go off after a few hours. The problem is that the node will not stop at appointed time. Also, if I turn off the light via Home Assistant, it stays off for about 2 seconds and then turns back on and continues with the color cycle. The only way I can turn off the light is by deleting the loop connection from the node.

Here is a picture of the node

Here is the export of the node:

[{"id":"34358b41.90dcb4","type":"api-call-service","z":"1b72eaee.8e19dd","name":"Turn On garden lights","server":"6b26e0bf.411f","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.gardenspot_01","data":"{\"brightness\":254,\"rgb_color\":[36,146,255],\"transition\":10}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":480,"y":960,"wires":[["d0f27b7b.ba557","8d7e084a.8ae1a"]]},{"id":"d0f27b7b.ba557","type":"delay","z":"1b72eaee.8e19dd","name":"","pauseType":"delay","timeout":"9","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":700,"y":960,"wires":[["27718a3b.c37506"]]},{"id":"27718a3b.c37506","type":"api-call-service","z":"1b72eaee.8e19dd","name":"Turn On garden lights","server":"6b26e0bf.411f","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.gardenspot_01","data":"{\"brightness\":79,\"rgb_color\":[181,255,108],\"transition\":10}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":760,"y":1040,"wires":[["ce2201a3.21d9c"]]},{"id":"ce2201a3.21d9c","type":"delay","z":"1b72eaee.8e19dd","name":"","pauseType":"delay","timeout":"9","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":1200,"wires":[["34358b41.90dcb4"]]},{"id":"8d7e084a.8ae1a","type":"debug","z":"1b72eaee.8e19dd","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":900,"wires":[]},{"id":"9aba43db.c2719","type":"api-call-service","z":"1b72eaee.8e19dd","name":"Turn off garden lights","server":"6b26e0bf.411f","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.gardenspot_01","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":420,"y":880,"wires":[[]]},{"id":"f9141ab8.047df","type":"comment","z":"1b72eaee.8e19dd","name":"Garden Lights - On & fade colors","info":"","x":130,"y":900,"wires":[]},{"id":"263ba576.8341a2","type":"light-scheduler","z":"1b72eaee.8e19dd","settings":"17839778.2cbb31","events":"[{\"start\":{\"dow\":4,\"mod\":1170},\"end\":{\"dow\":4,\"mod\":1320}},{\"start\":{\"dow\":5,\"mod\":1170},\"end\":{\"dow\":5,\"mod\":1320}},{\"start\":{\"dow\":6,\"mod\":1185},\"end\":{\"dow\":6,\"mod\":1335}},{\"start\":{\"dow\":3,\"mod\":1170},\"end\":{\"dow\":3,\"mod\":1320}},{\"start\":{\"dow\":2,\"mod\":1170},\"end\":{\"dow\":2,\"mod\":1320}},{\"start\":{\"dow\":1,\"mod\":1290},\"end\":{\"dow\":1,\"mod\":1320}},{\"start\":{\"dow\":0,\"mod\":1125},\"end\":{\"dow\":0,\"mod\":1320}}]","topic":"","name":"Garden Lights","onPayload":"ON","onPayloadType":"str","offPayload":"OFF","offPayloadType":"str","onlyWhenDark":false,"scheduleRndMax":0,"sunElevationThreshold":6,"sunShowElevationInStatus":false,"outputfreq":"output.statechange.startup","x":140,"y":960,"wires":[["34358b41.90dcb4","9aba43db.c2719"]]},{"id":"6b26e0bf.411f","type":"server","name":"Home Assistant","addon":true},{"id":"17839778.2cbb31","type":"light-scheduler-settings","name":"my settings","latitude":"29.4825641","longitude":"-95.1161126"}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.