Set Appliance State:

Turn Hot Water Tap On
Isolate Mains Power to appliance as per TOPs P4

Observation:

Turn on hot water tap fully.
Does the diverter valve spindle extend fully towards the DHW microswitch?
Turn off hot water tap.
Does the diverter valve spindle fully retract, releasing the DHW microswitch?