Random hints

Good evening everyone, I’m new to the forum, but I have been using and testing with home assistant for some time. I was looking for a script or if you give me a tip on how to create random timed hints at home, so that I can recreate the presence of someone when they are not there, to activate it I use a Shelly i3 contact activated by my alarm control unit the moment I enter it. I hope you can help me. Thank you