Just keep in mind the range loss is more due to tire width than diameter or even weight of the wheel. Your greatest impact is in friction from the tire. So even a 235 OEM size tire but in a very sticky compound will result in range loss. If you want to retain as much range as possible you need to use Tesla spec tire which is limiting.
With that said if you want to stick to a 235 TO spec tire which is wider than most 235's ~ a 245 then you can run a 19x9 wheel in a +25 to +30 offset. There's just so many things that can affect range. Wheel design, distance to fender, tire compound, tire width, diameter of wheel, and so on. It can get really frustrating. The easiest solution is to get solar and charge at home. Then you can SMASH away without regret!!!! That's what I did and I'm so happy for it. I didn't buy this car for range. I bought this car because it's the cheapest, fastest, dad friendly thing I could get to grow my balls back. hahaha. For me range was secondary. As a father of 2 I couldn't justify buying a 991 or a GT3RS so I did the next best thing imo.
excuse my noobieness but what does "TO" stand for ? hahah. Ideally and personally I'd just like my 19s be squared up and flush with the fender (for the looks) and improved driving dynamics/cornering/handling/confidence. Range is also secondary to me as the Tesla shop and supercharging station is literally only 3-5 mins away from where I live lol.