Upgrade schiene to 0.21 (#12176)

This commit is contained in:
Fabian Affolter 2018-02-04 21:33:41 +01:00 committed by GitHub
parent ec201f3458
commit 905a994972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -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)

View file

@ -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