Light Automation within date range


#1

1) Give a description of the problem
I am using a outdoor light manager that @ady624 put together which uses Case $monthName to set the appropriate variable. I am trying to come up with a way to have my holiday lights come on the day after Thanksgiving through December. I’m looking for suggestions on how to accomplish this.

2) What is the expected behavior?
Local variable ‘Christmas’ should be set for the day after Thanksgiving through the end of December.

3) What is happening/not happening?
Currently I only have it working for December.

4)


#2

Check out the following thread which offers a few solutions using restrictions:


#3

I’m curious, how would you suggest I say “After the 4th Thursday of November, between Jan 1” in either of those examples?


#4

The following would work:

Edit: this includes Thanksgiving – you would change "greater than or equal to" to "greater than" to start the day after…


Piston restriction between two dates Black Friday and New Years Day
Garbage Collection Reminder