Help with variable please!


#1

This was derived from @tonesto7 's piston. I can’t get the variables to reset at midnight…

any ideas? Happy Easter everyone!

Thanks,
Eric


#2

You can put the time happens at midnight in its own If statement. It looks like only one resets daily at midnight?


#3

You also have an empty OR block that is showing as green. You may want to remove that empty block.


#5

Correct. Only one resets at midnight. The subsequent ones are supposed to reset at midnight, but with more conditions. This pistons worked for a while. Then variables stopped resetting for some reason.

I will put the variable resets in the their own if block and see what happens.

I also got rid of that empty or block.
Thanks. !


#6

how can I get rid of that “or” for “time happens at” and make it it’s own “if” block without deleting everything under it?


#7

Create a new If statement at the very bottom, add the time condition but cancel out of it, you’ll end up with an empty If statement, you can now drag that whole Time happens at statement into that empty If.