Do you want to be able to set a second delay, like it only can start x hours sleeping and and (then) y minutes in deep/light sleep? That would not be too hard to implement.