Entur upgrade to v0.2.0: async polling, number of departures, omit non boarding departures (#22001)

* The Great Migration

* removed outdated tests

* Upgraded enturclient to v0.2.0
- client has gone async
- configurable if non boarding departures should be omitted from result
- configurable how many departures should be shown
- more clear which attributes are included and when

* reduced nesting and clearing of attributes

* Removed test data

* ensure attribution and stop id in attributes

* docstring fixes

* fix rebase errors
went a bit too fast on continue on one of the conflicts..

* fix test requirements comment from gen
This commit is contained in:
Heine Furubotten 2019-03-28 04:04:35 +01:00 committed by Paulus Schoutsen
parent a1369c2fee
commit f11f5255ae
9 changed files with 106 additions and 249 deletions

View file

@ -54,7 +54,6 @@ TEST_REQUIREMENTS = (
'dsmr_parser',
'eebrightbox',
'emulated_roku',
'enturclient',
'ephem',
'evohomeclient',
'feedparser-homeassistant',