Skip to content
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 Montreal service #1654

Merged
merged 3 commits into from
Jan 11, 2024
Merged

Add Montreal service #1654

merged 3 commits into from
Jan 11, 2024

Conversation

julienboriasse
Copy link
Contributor

Currently, Montreal does not offer an iCal/Webcal subscription method.
The GeoJSON file provides sector-specific details.
The waste collection schedule is then interpreted from English natural language. Not every sector follows the same structure.
This method is not highly reliable but serves as an acceptable workaround until a better solution is provided by the city.

@julienboriasse julienboriasse marked this pull request as ready for review January 9, 2024 04:07
@5ila5
Copy link
Collaborator

5ila5 commented Jan 10, 2024

Thanks for your contribution. I did some major refactoring to remove your large function with very deep indentation. feel free to have a look. I checked the test output and it did not change.

I added the new dependency to the manifest.json as well to communicate the dependency to home-assistant

@5ila5 5ila5 merged commit 3381115 into mampfes:master Jan 11, 2024
1 check passed
@antoinebou12 antoinebou12 mentioned this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants