Smarthome integration requires reauthentication each HA boot or update

HAve moved away from the Tuya integration (no longer supported) to the smarthome. To make it work you enter the code from the smarthome app into the integration and then scan a QR code to authenticate.

The problem I have is everytime I reboot/restart or upgrade HA I have to delete the integration “hub” and follow the steps above again.

It seems very clunky.

Is everyone else having the same problem and is there a workaround?