I have an 11-speed 11-34 cassette on my road bike, which has Di2 and shifts flawlessly. Every time.
Using my bike to my Wahoo Kickr which comes with a Shimano 105 11-speed cassette but it is 11-28, and my shifting is a little off sometimes on it.
Should there be any issue with indexing because of the different cassettes despite being the same speed? (both chain and cassette are also new on my bike, btw)