Dimmers think they are curtains

Hi I’m having a issue with tuya devices

I bought tuya dimmers which work well through the tuya app, and google voice however in google home they think they are curtains and on HA they think they are switches so I have No dimming control, I cannot add a card tp the dashboard with the dimmer slider

I’m not right now using home assistant as the connection to google home because i don’t have it working right yet

i had some luck getting this

to allow me to add the dimmer Lovelace card but I still have no dimmer control it just returns a error at the bottom of the page which disappears after 5 seconds

looking for a way to change the device type

thanks

Hi, I’m having the same issue. did you ever found a solution?