Countdown sensor

Hello there. I was able to create one event using your code above. I wish to add more events. Can you show us a sample code on how to iterate the list? Thanks a bunch.