The State Fire Marshal's Office says a lithium-ion battery from an electric scooter was the cause of a large fire at a Ludlow home on Tuesday afternoon.