Add Entur departure information sensor (#17286)

* Added Entur departure information sensor.

* Fixed houndci-bot comments.

* Removed tailing whitespace.

* Fixed some comments from tox lint.

* Improved docstring, i think.

* Fix for C1801

* Unit test for entur platform setup

* Rewritten entur component to have pypi dependecy.

* Propper client id for api usage.

* Minor cleanup of usage of constants.

* Made location output configurable.

* Cleaned up usage of constants.

* Moved logic to be contained within setup or update methods.

* Moved icon consts to root in module.

* Using config directly in test

* Minor changes
This commit is contained in:
Heine Furubotten 2018-11-30 09:06:59 +01:00 committed by Fabian Affolter
parent 5f53627c0a
commit 4bee3f760f
6 changed files with 377 additions and 0 deletions

View file

@ -46,6 +46,7 @@ TEST_REQUIREMENTS = (
'coinmarketcap',
'defusedxml',
'dsmr_parser',
'enturclient',
'ephem',
'evohomeclient',
'feedparser',