Set the WiFi socket to teach-in mode by pressing the button on the device for 3-5 seconds, after which the green LED flashes quickly (2x per second).
If the product is still taught in the app, the product can be deleted from the app in "Edit" under "Remove the device"; the data is retained.
The item "Restore factory settings" removes the device from the app and deletes all data for the product.