fix reversed polarity in light sensor component