We have moved at community.getvera.com

Author Topic: Holiday eve (trigger one day before)  (Read 1036 times)

Offline ahiel

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Holiday eve (trigger one day before)
« on: March 06, 2016, 07:40:15 am »
I would like to do X (change lights) when its holiday eve (next day is the holiday),
I have the holidays calendar, my question is how can I do it the night before the holiday?


Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: Holiday eve (trigger one day before)
« Reply #1 on: March 07, 2016, 06:34:01 pm »
If you create the holiday events then HolidayName[-x,0]  will start the event x minutes before the event start time in the calendar.

If you are using a calendar from someone else then setting gc_StartDelta to -x will start all events x minutes early