I am using the NextBus (Umo) integration on Home Assistant and trying to split the info from the time remaining for next 2 upcoming buses.
The issue is that both time remaining are bundled together on the “upcoming” attribute of the sensor divided by a coma, as showed below:
I was able to create a sensor using the syntax below, but obviously results on both predictions (before and after coma) bundled together on this new sensor.
state: "{{ state_attr('sensor.nextbus', 'upcoming') }}"
Is there a way to create two template sensors breaking down the values before and after the coma?The first sensor to capture the first prediction and the second to capture the values after the coma.