How configure a tasmota flashed sonoff mini DIY as a light in HA?

They are detected as switch with flash icon in HA, but I want to change to lightbulb icon. I can just change to mdi:lightbulb icon, but the icon color does not change with on-off state of the switch.

I have some Sonoff mini zigbee switches too, and they are detected as light, and lightbulb icon changes the color… for my sonoff mini DIY switches, should I change something in tasmota webUi (I have it as basic sonoff modules) or in HA config? What shold I change to get it like lights, if possible?

*If SetOption30 1 , relays will be added as light entities.

1 Like

Worked! Thanks!

Was this changed in the Tasmota webUi?
Im not sure where to do this?

Thanks

Edit: Its done in tasmota WebUi within the console