Three people have been treated by paramedics after a blaze broke out at a house, thought to be caused by a charging e-bike battery.