diff --git a/custom_components/waste_collection_schedule/manifest.json b/custom_components/waste_collection_schedule/manifest.json index 75b04c976..ac896ee4d 100644 --- a/custom_components/waste_collection_schedule/manifest.json +++ b/custom_components/waste_collection_schedule/manifest.json @@ -6,6 +6,6 @@ "documentation": "https://github.com/mampfes/hacs_waste_collection_schedule#readme", "integration_type": "hub", "iot_class": "cloud_polling", - "requirements": ["icalendar", "recurring_ical_events", "icalevents", "beautifulsoup4", "lxml", "shapely"], + "requirements": ["icalendar", "recurring_ical_events", "icalevents", "beautifulsoup4", "lxml"], "version": "1.45.0" } diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/montreal_ca.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/montreal_ca.py index c2cac88fd..dff7d8201 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/montreal_ca.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/montreal_ca.py @@ -237,7 +237,6 @@ def get_data_by_source(self, source_type, url): # check the information for the sector for feature in schedule["features"]: - if feature["properties"]["SECTEUR"] != self._sector: continue schedule_message = feature["properties"]["MESSAGE_EN"] @@ -261,10 +260,8 @@ def get_data_by_source(self, source_type, url): return entries def fetch(self): - entries = [] for source in API_URL: - try: entries += self.get_data_by_source(source["type"], source["url"]) except Exception: