Yes, you need to add a script that will enable or disable the lights depending on the time of day. Like the existing script, Streetlights.
You cannot dim them, you would have to have different lights with different brightnesses and enable/disable the right ones. This is a little more complex.