If main current turns off in specific time in which SONOFF timer has to off. Then after current ON it keep its state as it is like it is set.
For example main house current goes OFF in that time in which timer is set to off. And after current comes, and the device will ON and never turns OFF which is ridiculous. It should synch after each minute to check the schedule.