As of the 1st of January, you can't take an electric scooter on public transport throughout Andalucía.
In other words, that includes, metro and buses. This is the same as similiar restrictions imposed in other parts of Spain; i.e., in other autonomic regions, as well as in other European countries.
At the moment this is a temporary measure, which has been provoked by a number of cases of the batteries on these vehicles catching light.
It was also adapted because of a decision made by the Dirección General de Tráfico (DGT). As of the 21st of January, only electric scooters that have the correct safety certificate will be allowed on the roads.
However, this restriction will not affect these vehicles that were purchased before the 21st of January 2024; they will be allowed to circulate until 2027.
Lastly, since the 12th of December, the national rail service, Renfe, had banned them on all trains.
(News/Noticias: Andalucia)

And also please don’t allow maniacs to use these along the promenade. It’s so dangerous
Unfortunately it’s no longer possible to allow our young children to walk in front of us along the promenade. These guys sometimes travel at full speed.
Basically the police should in every city,town and village crack down on those that ride in an anti social , up yours manner, especially with regards to safety equipment.
But helmets are not required on cycles are they? Save a skull; wear a helmet. Don’t go the wrong way up, one-way roads or go from pavement to road and back, willy nilly. Simple.