Energy Efficient

I purchased an energy efficient AC and heater for my main home in 2017.  Are those items tax deductible? I did not claim the credit in 2017. Can I claim it in 2020 or do I need to amend my 2017 taxes to include it?