Adding a sensor/attribute to entur_public_transport

Hi,

I just installed the core integration Entur (entur_public_transport), which shows data from the API of the public transport system in Norway. It’s a great integration, but I find it to be lacking one function, to show the arrival of first upcoming bus/tram at a specific stop in minutes ((expected arrival time) - (current time)).

This is a little weird, because this exact function I’m asking is already implemented for the second next arrival, the attribute name next_due_in. In my screenshot from the Developer tools → State in HA, this can be seen after having configured a stop. The first five attributes are for the first upcoming tram (route 19), while the second (route 17) have six attributes, the extra next_due_in which I’m requesting. I don’t know if this is just a bug or an already existing feature that has been broken, but it would make the integration a lot more useful and consistent if this could be added.

Thanks!
sensor