set sensor contribution to 1 or 0