Pipe is fine, solenoid is fine, but can't get hot water into my washing machine?
If it is delivering cold when you call for hot only then it is opening the wrong valve (assuming your statement that the hoses are correct now is true).

Return the unit, it is malfunctioning and it seems like a controller issue not a valve or solenoid issue.

However; you state that you replaced a "valve/solenoid". Are you certain you did it right? Are you certain you wired it right? If the unit was "brand new" why did you do that yourself instead of having a factory approved technician troubleshoot and repair the unit under warranty?