“Scott Weiner partnered with a Republican legislator on a bill to make it easier for consumers to install microgrids, facing opposition from PG&E.”