Power restored to most homes in Sydney