When a daylight sensor is placed, and a redstone lamp or a piston is immediately next to it, it will continue to be powered during Overcast situations like Rain or Snow.
When a daylight sensor is placed, and a redstone lamp or a piston is immediately next to it, it will continue to be powered during Overcast situations like Rain or Snow.
Intented.
Read about the output power levels of the daylight sensor at different daytimes and different weather conditions here: https://minecraft.gamepedia.com/Daylight_Sensor#Daylight_Sensor