Here is a popular routine idea - a routine to shut down all of your automated devices when you go to bed.
This routine is adaptable to whatever level of automation you have, from a single light bulb to a fully automated house. If you only have a few devices now, this routine will grow with your system.