Each event can have two sub events, device can be activated twice in cycle