combine the existing departure attribute with the also existing delay attribute to provide the new departure_current attribute
combine the existing arrival attribute with the also existing delay_arrival attribute to provide the new arrival_current attribute
This way we can easily get the actual (current) departure / arrival times. No additional math on user side needed.
Is your feature request related to a problem?
The problem is, that if you have "16:47 +23" you have to calculate on your own (either in your head or by additional templating involving some significant Jinja magic) what the actual time including the delay is.
The request
Add two new attributes:
departure
attribute with the also existingdelay
attribute to provide the newdeparture_current
attributearrival
attribute with the also existingdelay_arrival
attribute to provide the newarrival_current
attributeThis way we can easily get the actual (current) departure / arrival times. No additional math on user side needed.
Is your feature request related to a problem?
Additional information
https://community.home-assistant.io/t/configuration-deutsche-bahn-integration/402377/10