Cannot delete Tuya integration

Sometime ago I installed the Tuya integration but have since move the the V2 integration via HACS.

The original integration still shows up in the front end (along with one device) but I cannot seem to delete it. When I click delete it prompts me to confirm but it doesn’t actually do anything.

I have it disabled but enabling it and restarting HA shows

Logger: homeassistant.setup
Source: setup.py:178
First occurred: 08:20:53 (1 occurrences)
Last logged: 08:20:53

Setup failed for tuya: Unable to import component: cannot import name 'AuthType' from 'tuya_iot' (/usr/local/lib/python3.9/site-packages/tuya_iot/__init__.py)

Any way can I actually remove this?

I have the same issue and error message but in my case it is even worse as I can with Tuya V2 manage my energy monitors but not my climate equipements (I can change temperature but cannot change the operation mode anymore) and with Tuya official integration, I can manage the climate equipements but not the energy monitors (as noy yet integrated and supported)… So I am stuck in the middle of two possibilities… So if anyone solved this, I would be very interested too…

OK so it looks like the V2 integration was actually taken in HA within the last few weeks to replace the old Tuya Integration.

I managed to get rid of the old stuff by

  1. Remove Tuya V2 Integration
  2. Add & configure inbuilt Tuya Integration
  3. Select old account (flagged as not working) and delete