![Smile :)](./images/smilies/icon_e_smile.gif)
This wiring diagram should help you check the pot wiring. If the colours don't match your cables, the connector numbers should let you double check things.
https://www.dropbox.com/s/f32xdhmz27gq5q5/Corrected%20Automation%20Wiring%20Diagram%20%281%2C2%29.pdf