Are you looking a manual configuration? something like this?
Switch TP_L_Switch “Switch” { channel=“tplinksmarthome:hs200::switch” }
In this topic there is an extended manual configuration example. It’s for plugs, but and has some more than needed here probably. But it might give an idea.
If want to use the switch to control some other device via openHAB you should create a rule. Is that hat you’re looking for?