A smoke alarm has saved a family of four who woke to flames spreading through their home in Bayswater in Melbourne’s east.