Energy companies are working to restore power to hundreds of thousands of homes after one of the worst storms to…