I have a script to turn on my previously lit outdoor lights. Now, when that script runs, it creates an event to turn off the lights a at certain time depending on the period of the year.
ie: Cristmass lights are on later around the 25/12~1/1 but turn off earlier at the begening of dec and the end of jan.
So sometimes the lights will go out at 11pm (the same day) and sometimes a 1am (the next day!).
Is there a way to do this with hs.EventSetTimeTrigger(Evref, EvntTime)
How about having a hs.EventSetDateTrigger(Evref, EvntDate)?
ie: Cristmass lights are on later around the 25/12~1/1 but turn off earlier at the begening of dec and the end of jan.
So sometimes the lights will go out at 11pm (the same day) and sometimes a 1am (the next day!).
Is there a way to do this with hs.EventSetTimeTrigger(Evref, EvntTime)
How about having a hs.EventSetDateTrigger(Evref, EvntDate)?
Comment