Once you have the relevant sensors and smart home devices, there are plenty of advanced automations you can build. For instance, you could turn on the living room lights when motion is detected, but only when the room is dark. You could also set them to 70% brightness before 10:00 p.m. and 25% afterward, while having them turn off after five minutes without motion.