mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
add delay_arrival (#12169)
This adds the delay_arrival field from the schiene interface. This field sometimes explains an ontime=false with delay=0...
This commit is contained in:
parent
64cbfdfd77
commit
cff4f8ec9a
@ -116,4 +116,5 @@ class SchieneData(object):
|
||||
'delay_arrival': 0})
|
||||
# IMHO only delay_departure is useful
|
||||
con['delay'] = delay['delay_departure']
|
||||
con['delay_arrival'] = delay['delay_arrival']
|
||||
con['ontime'] = con.get('ontime', False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user