add time switch event