Generate addresses from Trezor's xPub using Python
xpub = 'ypub6...
(network="BTC",...    

You are providing a testnet extended public key with the network parameter set as mainnet. I would suggest you either use a mainnet xpub key, or change the network parameter to testnet.