Vary on and off for one device

How can I randomly turn on and off a device from 6pm to 1pm to give the impression that the room is occupied on and off between those hours?

Several plugins do this. Try:

or

1 Like

Thank you very much