Minecraft wiki entry for Daylight_Detector, associated text: Activation
A daylight detector activates when exposed to sufficient daylight (daylight detector mode) or when exposure to daylight is low enough (inverted daylight detector mode).