SmartThings Component with GE Z-Wave Fan Control

I have the GE Z-Wave Fan Control connected to my SmartThings Hub, which I’ve integrated with HA using the MQTT bridge method. It works great!

I’ve trying to convert it from the MQTT bridge to the new SmartThings component. I’ve got the integration set up, but the problem I’m running into is that my ceiling fan is now showing up as a light. HA can control the fan as a light, but this messes up several of my automations.

Is there a way to override the device type that HA applies?

So I found the solution to my own problem.

When I initially installed my Z-Wave fan switch, I let the SmartThings app auto-detect it. It was simple enough and worked fine using the MQTT bridge method since you have to redefine the attributes of the switch in HA. When converting to the SmartThings component, HA pulls the attributes of the switch directly from SmartThings. Since I let SmartThings auto-detect the switch, it advertised it as a ‘generic’ switch, which HA treats as a light. I removed the switch from SmartThings, and manually re-added it. This allowed me to select the exact model of switch (GE Z-Wave Fan Control). Once HA re-learned about the switch from SmartThings, it shows up as a fan!