diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/tauranga_govt_nz.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/tauranga_govt_nz.py index 39dde8fae..fe2a39cd3 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/tauranga_govt_nz.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/tauranga_govt_nz.py @@ -115,7 +115,10 @@ def parse_waste_pickup_dates( year=datetime.now().year + 1 ).date() - pickup_date = pickup_datetime.replace(year=datetime.now().year).date() + else: + pickup_date = pickup_datetime.replace( + year=datetime.now().year + ).date() for bin_type in bin_types: entries.append(