So irritated, had this working but I accidentally broke it and can't now fix it.
I had Local Tuya working perfectly (including the cloud API connection) with a single device. Wanted to add another device, and stupidly created a new API integration rather than adding a new device -- the API creation worked but nuked the original one and lost my device (of course).
However when I went to add the device back by clicking configure icon, I get an error.
I have tried restarting, deleting the Local Tuya / restart / add-back the integration. Still the same error:
"Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble"
I assume that somehow the old version left some detritis in a config file somewhere so the reinstalled version is getting confused / upset. Can anyone help?
I am running latest HA OS on Pi 5.
Thanks
Installation method
Home Assistant OS
Core
2025.12.2
Supervisor
2025.12.3
Operating System
16.3
Frontend
20251203.2