Turn off the heater using the main switch.
Press and hold the gear button (bottom right in the display) while turning the heater back on with the main switch.
Release the button when the display lights up.
The heater should then show 22 degrees, and it is now reset to factory settings.
Generation 2
Updated over a month ago