Apple is Bringing Night Shift Mode To Its Desktop OS (macrumors.com)
Apple is bringing Night Shift, a feature aimed at changing the tone of the display to better suit the eyes at different time of the day, to its desktop operating system. From a report: macOS Sierra 10.12.4, seeded to developers this morning, introduces a major new feature: Night Shift for the Mac. Night Shift can be toggled on and off using the new Night Shift switch located in the Today section of the Notification Center.
A light sensor doesn't do... which btw Apple had in their computers to adjust display brightness since like forever.
Nightshift is time dependent as it's only purpose is to elminate blue light at hours you should sleep.