mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02: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:
committed by
Fabian Affolter
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)
|
||||
|
Reference in New Issue
Block a user