SolarCity has partnered with Nest to offer a free Nest Learning Thermostat to the next 10,000 customers in California to sign up for solar panels.

This special offer combines two home energy solutions that can cut power bills as well as homeowners’ carbon footprint, and allows homeowners to experience these benefits with one easy package through SolarCity.

The offer includes the company’s no-upfront-cost deals – the only conditions are that you have a Nest-compatible air-conditioning system and that you agree to connect Nest to SolarCity, most likely to allow it to collect anonymized data …

SolarCity said that deeper integration with Nest will further optimize both savings and comfort as the two companies learn from linking the two systems. Nest is owned by Google, which is also a major investor in SolarCity.