Detached accessory dwelling units are often subject to solar installation requirements in California. State energy codes are intended to reduce grid dependence and improve sustainability. Certain exemptions may be available under specific circumstances. This guide explains when solar is required and when it may not be. https://uspowersolar.com/blog/california-adu-solar-requirements-title-24