set sensor property.