Upgrade schiene to 0.21 (#12176)
This commit is contained in:
parent
ec201f3458
commit
905a994972
2 changed files with 2 additions and 3 deletions
|
@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv
|
|||
from homeassistant.helpers.entity import Entity
|
||||
import homeassistant.util.dt as dt_util
|
||||
|
||||
REQUIREMENTS = ['schiene==0.20']
|
||||
REQUIREMENTS = ['schiene==0.21']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -114,7 +114,6 @@ class SchieneData(object):
|
|||
con.pop('details')
|
||||
delay = con.get('delay', {'delay_departure': 0,
|
||||
'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)
|
||||
|
|
|
@ -1071,7 +1071,7 @@ samsungctl==0.6.0
|
|||
satel_integra==0.1.0
|
||||
|
||||
# homeassistant.components.sensor.deutsche_bahn
|
||||
schiene==0.20
|
||||
schiene==0.21
|
||||
|
||||
# homeassistant.components.scsgate
|
||||
scsgate==0.1.0
|
||||
|
|
Loading…
Add table
Reference in a new issue