solar panel loan
I bought a home in 2020, which had a solar panel loan (installed in 2018 by the previous owner) and the loan of $48,000 transferred to me when I bought the house. Can I use the whole loan amount to get a the home energy credit for 2020, or just the amount of the loan I paid in 2020, or not at all since it was installed by the previous owner? Thanks in advance.