That's the way mine is setup.
It is random from Noon to 10pm and then constant 30% from 10 pm to noon.
I'll look at the code closer when I get in front of my laptop, but honestly I'm not a coder. Lnevo wrote it for me and it is a modification of code he wrote for PaulTurner911.
Sent from my SM-G928P using Tapatalk