The valve is powered to turn it off for DHW
there is no other way on that plan to turn it off other than the tank thermostat, in the main the programmer is set to gravity even though not gravity (also called thermo-syphon) so you can't physically select CH without DHW.
In the main W plan is used when the hot water cylinder is very small, often built into the boiler, it seems there are three DHW priority systems, the old W plan, a system using a mid-position valve, and also a system which incorporates the weather sensor. As when DHW is called for, the circulating water needs to be hotter.
The C, Y, and W Plan is still used with old oil boilers, as the boiler often has not cool down system built in, but in the UK most modern gas boilers work on the S plan, but to be able to as default turn off DHW would defeat the whole idea of using the DHW to allow boiler to cool.
I am an electrician, maybe wait for a heating engineer's reply.