Manually
There is a level on the end of the valve, move it across and lock it into a small clip at the other end, its spring return so expect some resistance.
Electrically
depends on the make of the valve depends on colours of cables.
devon boy, November 2010