Are you sure? Lots of people are telling me that batteries only last 4-5 years tops and solar panels usually burn out before 10 years /s
I particularly love when they are telling me that my 11 year old Prius' batteries will only last 5 years before they are junk.
This is totally wrong. I work in the industry. Solar panels should last for 30 years, but they degrade in capacity by 0.5 to 1% per year, depending on environmental conditions (temp, radiation, etc). Lithium batteries from tier 1 suppliers can last at least a decade of regular use. It depends on how their cycling and state of charge is managed. If you keep them between 20% and 80% charge, they can last incredibly long.