1) Give a description of the problem
I want to have a turn on start time set to 2 hours before sunset and turn it off after 8 hours. However, it also allows to manually turn on and it will still be turned off after 8 hours.
2) What is the expected behavior?
I have tried different ways, but none of them work. The current one I was trying with the timer. However, the timer never triggered the turn on. According to my code, I manually turn on first then a start time set to $now. After that, I turn off it then the start time set to sunset -2 hours. When the time is sunset -2 hours, the timer does not trigger any action. I manually turn on, after 8 hours, the timer does not turn off it also.
3) What is happening/not happening?
Nothing happen. No trigger action has been performed.![download|647x500
**4) Post a Green Snapshot of the piston