I have a Tuya/Smartlife switch that I’d like to show as a light. Can you do something similar to the override like the SonoffLAN addon?
sonoff:
username: email
password: abcd
reload: always # update device list every time HA starts
devices:
1234567890:
device_class: light
name: Bar Lights
You can, however, use icon: in the customize: section of your YAML or in the Lovelace UI to change the icon. Per default it uses hass:lightbulb (and the theme’s colours to show on/off states).
Note: Apparently the auto-gen UI will inherit the switch icon for the new light switch while the new Lovelace UI won’t.