Can I have a device automatically turn off after a period of time?

Follow