At least seven dead, 170 homes lost in NSW