This is the technique I used successfully.
Front M99 MINI PRO-25 - Changing the Mode
1. To enter the programming mode, hold down the high beam switch while switching on the E-Bike. After approx. 3 seconds the low beam flashes 3 times. Now release the high beam switch.
2. Now you can switch between the following modes by briefly pressing the high beam switch: A. Manual mode (indicated by switched off light in programming mode): In this mode, the front light is switched on after having started the E-Bike by briefly pressing the high beam switch. It can be switched off by holding the switch for 2 seconds or by switching off the E-Bike. B. The automatic mode is set by default (indicated by pulsating light in programming mode): If this mode is selected, the front light switches on automatically when voltage is applied.
3. To exit the programming mode, simply switch off the E-Bike. At the next start, the last selected mode is activated.
After that I never use the light switch on the Kiox/Nyon. Press light beam switch to turn on. Subsequent presses switch between high and low beam. Long press turns off.
Cheers