7-Day Electronic Digital Timer Switch UK Plug-In, Programmable

It’s a UK-style device (you can see the standard 3-pin BS 1363 socket at the bottom with the red safety shutter) that you plug into a wall outlet, then plug a lamp, heater, fan, or other appliance into it.

eBay