I got to this point where the date is evaluated and the action group executed,
- Code: Select all
import time
Date = time.strftime ("%x")
if Date == "01/02/22":
indigo.actionGroup.execute(1590883785)
but obviously need this to happen between 2 dates. I've tried a few different punctuations on the "IF" statement, but can't get any of them to work.
- Code: Select all
if Date >== "01/02/22" and <=="01/20/22":
I'm assuming there is an easy to to evaluate a range of dates but I can't figure that part out. Any suggestions?