I have managed to obtain the arrival times of the bus from the company website through the scraper sensor but the information shown appears to me like this:
L9215 minutes
The problem is that the bus line (L92) appears attached to the minutes (15).
Can someone tell me how I can divide the information so that it appears more readable with some template?
Thank you very much for the answer, the truth is that I do not know anything about jinja2 and I do not know their methods and functions as well as the parameters that are passed to them.
Thanks to your answer I managed to separate it, but I have a problem and it is that when the minutes are lower than 10, it divides badly, example
L9215 minutes β divide it well and leave it in L92 15 minutes
L922 minutes β it divides badly and leaves it in L92 22 minutes when it should put L92 2 minutes