Time based conditions that are set to trigger from one day to the other (e.g. after 10 pm and before 6 am) currently do not work.

A temporary workaround is to create two Routines, one which spans from some time until midnight (e.g. after 10 pm and before 11:59 pm) and one which spans from midnight until some time (e.g. after 12:01 am and before 6 am).