diff --git a/homeassistant/components/todoist/calendar.py b/homeassistant/components/todoist/calendar.py index fd24652069669..0ce8101f49c37 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -500,6 +500,8 @@ async def async_get_events(self, hass, start_date, end_date): events = [] for task in project_task_data: + if task["due"] is None: + continue due_date = _parse_due_date(task["due"]) if start_date < due_date < end_date: event = {