Forgot to add an await to the close method in pytuya when validating the device. This results in the connection never being closed after adding a device, giving "connection resets" until the connection fails, the device or Home Assistant is restarted.