OP wasn't planning a devious plan here. The 6 month contract seems standard from the company side. They shoot themselves on the foot and the loan just got voided. OP would be paying the company for nothing without a new loan
> (7 months instead of 6, we're not talking about multiple years later here)
Maybe this is a disagreement based on past experiences, but the most infuriating thing when working with home contractors is chasing them around so they do they finish their job. I get if this were business to business transaction that are used to year long delays, but as a person I find having a half finished ceiling to by a big disruption in my daily life.
Being fair OP didn't say anything about having to fix their roof before installing the solar panels, but having to put up with business delays in your home projects isn't the most pleasant experience.
If we go to the ethical side of things, in this case the company installed something without doing proper diligence in their part. This could have been solved if they presented a new contract in OP home when they went to install the panels. Paying without a loan would have been foolish from OP side, same if he paid it at the more expensive 2022 prices. In fact OP would probably be forced to do if they asked him about it before installing the panels. This would be unethical from the company side: delaying 6+ months the installation and proposing a more expensive loan before installation.
Let's not skip the company trying to swindle OP to pay without a proper contract by scaring him. Some of us may be used to this kind of threats. Doesn't mean they are ethical at all. They should have been upfront with the problem from the beginning, not bullying people with scary letters.