diff --git a/custom_components/homeassistantedupage/__init__.py b/custom_components/homeassistantedupage/__init__.py index 7214860..a291bb9 100644 --- a/custom_components/homeassistantedupage/__init__.py +++ b/custom_components/homeassistantedupage/__init__.py @@ -104,6 +104,7 @@ async def fetch_data(): _LOGGER.error(f"Failed to fetch lunch data for {current_date}: {e}") lunch = None canteen_calendar_enabled = False + break meals_to_add = [] if lunch is not None and lunch.menus is not None and len(lunch.menus) > 0: _LOGGER.debug(f"Lunch for {current_date}: {lunch}")