Random timer

When somebody leave the house for a long period of time, it may be useful to simulate the presence into the house by switching the lights randomly. In the actual version of Home Assistant is it available a random function related to the time platform? I am thinking about random start and stop inside a defined interval (e.g. random start 6:00PM - 7:00PM, random stop 9:30PM - 22:00PM) and also about random start/stop inside a fix interval (e.g. random switch 6:00PM - 22:00). They are some digital timers on the market that can be programmed on/off based on day time, week day and also random and I would like to use such a feature in my Home Automation and now I can program the Arduino, but may be a better solution.

2 Likes