If Smart Lighting does what you need, use it.
The following gives an overview of some of the other options: