diff --git a/custom_components/o365/todo.py b/custom_components/o365/todo.py index 31ea95a..92e6117 100644 --- a/custom_components/o365/todo.py +++ b/custom_components/o365/todo.py @@ -248,7 +248,7 @@ def _update_extra_state_attributes(self, todos): todo = { ATTR_SUBJECT: item.subject, ATTR_TODO_ID: item.task_id, - ATTR_STATUS: item._Task__status, + ATTR_STATUS: item.status, } if item.body: todo[ATTR_DESCRIPTION] = item.body