i have a Sonoff S20 smart plug, flashed with Tasmota. The Homeassistant MQTT discovery discovers this device as a light, however it should be discovered as a switch. I have no idea how i can change that, can anyone point me into the right direction?
Have you tried “setoption30 0” from the console?
Yes, that helped. Thanks for pointing it out.