You don't even have to think. Energy prices have pretty much only ever gone up.. and they never come back down. Your local energy provider goes to the county/state every year to plead why they need to raise rates. And generally speaking, those rates creep up every year. Feel free to fact-check me on this.
That said the other posted Nate is correct. Solar is still a tremendously expensive investment unless you are guaranteed to stay in your home for the next 10+ years.. chances are will you will never see a full return on investment. Yes, there are people who lease their panels. Yes, there are people who get their energy cheaper from dedicated solar farms. But the reality is most people who have panels on their house are deep into a long-term contract to repay that installation. Its a bet that I should have taken 9 years ago when this house was built and we moved in. And now that we are 100% EV home it makes more sense than ever, but I cant just feel like as soon as I sign my name on the contract.. that we will end up moving to another county or state due to our jobs or kids schools