Endeavour Energy restores power to almost 1000 homes