diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/opendata_bordeauxmetropole_fr.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/opendata_bordeauxmetropole_fr.py index abb13f219..94c589cb9 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/opendata_bordeauxmetropole_fr.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/opendata_bordeauxmetropole_fr.py @@ -1,7 +1,7 @@ import json import urllib.parse from datetime import date, datetime, timedelta -from enum import StrEnum +from enum import Enum import requests from waste_collection_schedule import Collection @@ -179,7 +179,7 @@ ] -class DayNames(StrEnum): +class DayNames(Enum): MONDAY = "LUNDI" TUESDAY = "MARDI" WEDNESDAY = "MERCREDI"