Configuration Tasmota devices

Hi, I have a few Tasmota Sonoff switches (Basic swicthes) and I am using the Auto discovery method in Home Assistant. When I add a new switch it is automaticaly added to HA but the config is different from switch to switch. For the same exact model sometimes it is configure as Light, sometimes as Switch. Is there is way to change that or do I need to turn auto discovery off and add them to the configuration file? Also is there a file where I can see the config of the auto discovery items I have?
Thanks.

There is an option in Tasmota where you can chooses between switch or light: