Converts Sensor to Value Object.