Lights on and off, based on condition (month of the year)


#1

1) Give a description of the problem
Morning all, I have created a very basic Piston and I wonder if it will work or not (as its spread over months, it might take me months to test it). I I think the piston might check the first box condition e.g. January and if that fails, it might not look at the next box/month, or just fall over half way through the piston\year. I wanted to ask if anyone can see any mistakes I have made in the code please.

2) What is the expected behavior?
It should turn the lights on and off at a particular time, depending on the current month

3) What is happening/not happening?
I have doubts it will work properly.

4) Post a Green Snapshot of the pistonimage


#2

You could do this a lot simpler with the every statement

Every day turn on lights att sunset.
Everyday turn off at time but only during selected months
Everyday turn off at time but only on different selected month


#3

I agree with @Gopack2. There is no need to have 12 triggers all happening at the same instant.