Skip to content

Commit

Permalink
fix: Fix invalid task handling
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Oct 30, 2023
1 parent 6b1b9d6 commit b91b1fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion custom_components/o365/classes/taskssensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def _handle_coordinator_update(self) -> None:
self._state = len(tasks)
self._extra_attributes = self._update_extra_state_attributes(tasks)

tasks = self.coordinator.data[self.entity_key][ATTR_TASKS]
task_last_completed = self._zero_date
task_last_created = self._zero_date
for task in tasks:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/o365/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"O365==2.0.28",
"BeautifulSoup4>=4.10.0"
],
"version": "v4.4.3b1"
"version": "v4.4.3b2"
}

0 comments on commit b91b1fd

Please sign in to comment.