Help with fade light on in morning


1) Give a description of the problem
Want lights to fade on in the morning if sunrise is after execution time.

2) What is the expected behavior?
Same as above

3) What is happening/not happening?
Nothing happens. Light don’t come on


Check this post out for how to get logs.


Thanks, but I don’t have the logs anymore because they “fell off” the end of the log. However, the following version works. Is there an explanation for why when the

{$sunrise} is after {$now}

restriction is before the execute it would be different than when it’s in the do?


The restriction outside of the execute will restrict the entire piston.

Restriction on actions just restrict that individual actions.

In your case it would make no difference.