Scheduled departure might not work because it would still charge during the night and stop at 530am no matter what your departure time is. Try it with a scheduled charge start time instead ?
NOt sure how stats app works but I have a bunch of api calls setup in my siri shortcuts that can run automatically at certain times and you could use that to stop and start charging. IE: if your phone disconnects from your car (or pick whatever other automation you want) - set charge start time to 3am. Not sure if stats app could do the same thing though and siri shortcuts and automations wont help you if your an android guy. If you do have an iphone, you can go crazy. IE I have one that checks what day it is, if my kids have school that day it sees what kid I am driving and turns on the appropriate amount of seat heaters, checks if the charger is plugged in and if so, sets the charge limit an extra 5% so the charger can start then it also checks the inside/outside temperature and sets my heater on to either just warm or defrost... oh, and it checks my location to make sure I am home before I do all that. Kind of overkill but fun to do, and the car is always warm when its time to leave, no forgetting about it until the last second.