The Greens have pledged $8 billion to help homes and businesses get home-battery storage systems for solar energy, or switch to electric-only appliances.