I was taking a part an out door light and came across a photoelectric switch, which turns the lamp on at night and off during the day. Would it be possible to reverse this function and put it in line with a power head so it would turn off at night?

Todd