A new bill extending home and community solar incentive programs through 2035 has passed both houses of the Connecticut Senate.