Need help replacing the electricity switch of a boiler.
I've got 4 wires coming out of the wall – 2 blue (neutral, 0), 1 brown (live, phase) and 1 yellow-green (ground).
The switch has 2 controls – a master on/off (the red button), and a timer. It has two inputs, red and black wires, both marked with the word "incoming" (in Hebrew).
Front view of the switch:

Rear view of the switch:

In the rear view, you will also see a schematic drawing.
And, my question is, naturally, which wire from the wall connects to which input in the switch...
Thanks!