In modern flats lights switch on and off automatically, depending on the brightness of the apartment and the preferences of the owner of the places. They are called autoluxes. It's one of the most common regulators besides climate controllers and biorecliners.
Gamedec Wiki
Official wiki
151
pages