Kickoff Time an hour ahead
Closed this issue · 2 comments
I use an external function to "humanize" the time so it is an approximation, not exact. Rather than checking for the exact value "in an hour" you should probably use a template to trigger when kickoff_time changes to contain the word "minutes". Or you could use the date attribute and compare it to the current time. If you do that, you'd have to localize it.
It looks like the easiest way to get it to work they way you want is trigger it when it changes FROM "in an hour" to the minute countdown. This will happen sometime between 50-60 minutes before kickoff, which sounds like closest to what you want. See the thread below for more details on how everything works and there is YAML in the last post with an example.