The latest federal budget deal keeps a tax credit for electric car charging stations, plus extends electric motorcycle and hydrogen fuel-cell credits.

Late last year, fears were high that Congress would cut the federal plug-in electric car tax credit. That credit gave buyers of EVs an incentive of up to $7,500 depending on the vehicle and the battery capacity.

That tax credit survived, but several other credits that helped alternative technology buyers were still on the block.

In passing the $400-billion budget bill early Friday morning, Congress added back in some of those tax credits, ones that make it more affordable to buy and own EVs and fuel-cell vehicles.

SEE ALSO: What Happens When GM, Tesla Hit EV Tax Credit Cap This Year?

The tax credit that gave an incentive to install at-home electric car charging stations got a one-year extension. That means that individual and joint filers who installed a charging station in 2017 can claim 30 percent of that cost, up to a maximum of $1,000. The Senate had continued the credit for two years, but the final version was for just one. Expect that to mean more lobbying for another extension at the end of this year.

A credit for electric motorcycles and electric three-wheeled vehicles was also extended. That credit allows for buyers of those vehicles to claim 10 percent of the purchase price, up to $2,500.

Finally, buyers of hydrogen fuel-cell powered vehicles had their up to $4,000 credit extended for another year.

Extending tax credits retroactively rewards buyers who took a risk on EVs or fuel-cell vehicles. For buyers for whom the tax incentives can mean the difference between purchasing an EV or an internal combustion-powered car, the credit can arrive too late and with too much uncertainty to convince buyers to make the jump to electric.