Lightsaber power On

Lightsaber power On is amazing however my iPhone has that battery save option on where it stops charging and then close to when it’s time for me to be up it’ll charge to full. Well that’s 3am with a loud lightsaber sound. You can imagine how much my wife and I love that. Any way in the automation to have it set to turn off between 10pm- 7am ? Thanks