-
-
Notifications
You must be signed in to change notification settings - Fork 32k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add De Lijn (Flemish Public Transport) component #24265
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
fabaff
reviewed
Jun 8, 2019
fabaff
reviewed
Jun 8, 2019
MartinHjelmare
requested changes
Jul 10, 2019
bollewolle
added a commit
to bollewolle/home-assistant.io
that referenced
this pull request
Jul 25, 2019
Some updates to the documentation to reflect the changes made to PR home-assistant/core#24265.
…e used instead of relative/local times. Removed unused definition
Assign ATTRIBUTION while creating the _attributes dict Remove the ATTRIBUTION assignment in device_state_attributes as it's updated in the async_update now.
Updated a linting issue in the LOGGER (used % instead of the format)
bollewolle
added a commit
to bollewolle/delijn-card
that referenced
this pull request
Jul 26, 2019
…ome-Assistant itself in this PR: home-assistant/core#24265
MartinHjelmare
approved these changes
Jul 26, 2019
Great! |
MartinHjelmare
changed the title
Initial commit of De Lijn (Flemish Public Transport) component
Add De Lijn (Flemish Public Transport) component
Jul 26, 2019
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Change:
none
Description:
Add De Lijn (the Flemish Public Transport agency) support. The use of the API's of De Lijn does require a subscription key that needs to be added to the configuration. You can register for a free developer account at https://data.delijn.be/ where you can find the subscription key.
Works best with the following custom lovelace card: https://github.com/bollewolle/delijn-card
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#9507
Example entry for
configuration.yaml
:Replace the abcdefg with the API subscription key of De Lijn.
Stop Id's are 6 digit number that can be found at each physical stop of De Lijn in Flanders, but can also be found on their site here: https://www.delijn.be/en/haltes/
Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
by runningpython3 -m script.gen_requirements_all
..coveragerc
.If the code does not interact with devices: