More than two time periods for motion sensor?

@Anders_H as you are talking about a switch instead of a motion sensor you are probably running into the following issue (with a workaround): Can't add more than 2 time periods for switches