Skip to content

Commit

Permalink
fix: Fix non-display of description and due date
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Jan 3, 2024
1 parent dda07d4 commit e0d93b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion custom_components/o365/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ def _update_status(self, hass):
else TodoItemStatus.NEEDS_ACTION
)
self._todo_items.append(
TodoItem(uid=todo.task_id, summary=todo.subject, status=completed)
TodoItem(
uid=todo.task_id,
summary=todo.subject,
status=completed,
description=todo.body,
due=todo.due,
)
)

self._extra_attributes = self._update_extra_state_attributes(todos)
Expand Down

0 comments on commit e0d93b2

Please sign in to comment.