It properly shows up under entities. However I have some issues with it.
The state is wrong. In MQTT explorer it shows it is true, however in HA it is false (off).
When I switch it on in HA, it shows that something is sent to the MQTT server. However then after maybe 2 seconds, it goes back to false/off in HA again. In case I set it manually to false in MQTT Explorer, and then press the switch in HA, it changes it to true in MQTT Explorer and stays.
That is the reason. HA needs to be informed on the state topic when you issue a command on the command topic. If that does not happen, the switch will go back to the previous position.
Ok, that helped a lot. I had activated the option to create the set topic separately in my main system (ioBroker). But it does not seem to work quite well.