A lightweight mod to auto toggle lamp.
Features
[list]
[*] turn on lamps when the light level is less than 50%, and turn off lamps when the light level is greater than 50%.
[*] turn on lamps when there is an awaken pawn indoor, turn off lamps when there is no pawns indoor, or everyone in the room is asleep.
[*] some tweaks in mod settings.
[/list]
If you don't want a specific lamp to be off, you may toggle the gizmo of that lamp (to always turn on it as vanilla).
Performance
Should not have any noticeable performance impact in most cases.
Compatibility
Should be compatible with any mod that add roofs or lamps.
If you encounter any issues, please let me know.