Automation - random turn off time within time window?

Just look at this: Set random time for random automatic turning off lights (mimic someone is home)