DeepSleep with time window

Actual I use this script for the deep sleep mode:

deep_sleep:
 run_duration: 30s
 sleep_duration: 60min

Is there a way to implement a time window (night) for a longer deep sleep phase?