No, that is not correct. Line 4 is for energy efficient improvements to your home (windows, siding etc.). Line five is for your solar panels and the deduction maxes out at $5000. And that is only if you didn't get the deduction last year. If you did you are not entitled to a deduction this year even if the federal return had some carryover from 2022 on it.