The California Energy Commission has voted to require solar panels on new buildings beginning in 2023.