Quarterly report pursuant to Section 13 or 15(d)

Subsequent Events (Details)

v3.20.2
Subsequent Events (Details) - USD ($)
$ / shares in Units, $ in Millions
Jul. 29, 2020
Jul. 06, 2020
Jun. 30, 2020
Dec. 31, 2019
Subsequent Event [Line Items]        
Par value (in dollars per share)     $ 0.0001 $ 0.0001
Subsequent Event        
Subsequent Event [Line Items]        
Diluted shares   64.00%    
Subsequent Event | Home Electrification Joint Venture        
Subsequent Event [Line Items]        
Contribution in cash, joint venture $ 65.0      
Services valued 10.0      
Subsequent Event | SK E&S Co, Ltd | Home Electrification Joint Venture        
Subsequent Event [Line Items]        
Contribution in cash, joint venture 75.0      
Subsequent Event | Sunrun, SK E&S Co., Ltd and Other Affiliated Entities | Home Electrification Joint Venture        
Subsequent Event [Line Items]        
Investments in joint ventures $ 150.0      
Common Stock | Subsequent Event | SK E&S Co, Ltd        
Subsequent Event [Line Items]        
Shares issued (in shares) 2,074,688      
Par value (in dollars per share) $ 0.0001      
Shares price (in dollars per share) $ 36.15      
Purchase price $ 75.0      
Vivint Solar | Subsequent Event        
Subsequent Event [Line Items]        
Common stock owned by approximately (in percent)   36.00%    
Business acquistion, termination fee receivable   $ 54.0    
Vivint Solar | Subsequent Event | Minimum        
Subsequent Event [Line Items]        
Business acquisition, termination fee payable   45.0    
Vivint Solar | Subsequent Event | Maximum        
Subsequent Event [Line Items]        
Business acquisition, termination fee payable   $ 107.0    
Vivint Solar | Common Stock | Subsequent Event        
Subsequent Event [Line Items]        
Common stock issued (in dollars per share)   0.55