Power has been returned to residents across the far west of New South Wales more than 24 hours after an emergency back-up generator failed.