#Permanently Disable or Delete Tuya Integration

1 messages · Page 1 of 1 (latest)

north halo
#

A few months ago I migrated from the Core Tuya (cloud based) integration to Tuya Local. The migration was a great success. The Core Tuya integration is now giving an error which doesn’t matter as I am no longer using it. All devices and entities attached to it have been deleted. I’d now like to to Disable or Delete the Core Tuya integration. I can go through the process and all is OK but every time I restart HA the integration comes back. How can I get rid of it permanently?

long jolt
#

Just to rule out user error, can you describe the process you did to remove the integration?

north halo
long jolt
#

Disable should not remove it from the list. But if it comes after a restart when you used delete, that is weird :/ You could check (and delete) it in config\.storage\core.config_entries. But be very sure to have a good backup, because messing in .storage can kill your whole HA.

raw flare
north halo
#

It's definitely not a browser cache thing. I've done the disable/delete on my laptop in a browser and also using the HA app on my phone and iPad. Every time the integration appears to be properly disabled (I can filter for disabled integrations and it shows as disabled) or goes completely if I delete it. But then after the a restart it is back telling me there that authentication has expired. I go through the authentication process with the Tuya app and everything is back to exactly the way it was. It just does't want to go away!

north halo
# long jolt Disable should not remove it from the list. But if it comes after a restart when...

I looked at this but the "File Editor" that I have installed does seem to be able to access directories higher than "homeassistant" so I can't get to the file suggested. I went into a Terminal window and I can get to from there but doing a "more core.config_entries" just gives a mess of text without newlines. I'm not sure if there is any editor available in a terminal window anyway so probably doesn't matter.

raw flare
long jolt
#

I would definitely try it with your non-standard browser and clear all cache there.

btw, 'homeassistant' is the name of 'config' outside of the container. Most of the documentatie will assume the name 'config' rather than 'homeassistant'.

north halo
#

OK here is what I am seeing.

If I go into the Tuya integration I see an Authentication issue. I don't really care as I am not using it but I fix it anyway. It completes successfully. Then if I Disable the integration it also appears successful as the 3rd screenshot shows. Then if I restart HA the Tuya integration is discovered again and I have to go through the whole process again. If it is disabled it shouldn't be discovered. The exact same thing happens if I Delete the integration rather than Disabling it.

north halo
long jolt
#

Ahh, it's only a discovery. Simply don't configure it. Although it is odd the "Ignore" button is missing... Is that in the 3-dot menu?

#

As for the folder, the default of the file editor addon is to hide that folder. In the configuration of the addon you can remove .storage from the Ignore patern list. But again, have a backup if you decide to mess with it.

raw flare