Skip to content

Commit

Permalink
Merge branch 'master' into todo_entity
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Nov 1, 2023
2 parents 30fb3fc + 3492233 commit 5f255a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions custom_components/o365/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,10 @@ async def _async_email_update(self, key):
download_attachments=download_attachments,
)
)
self._data[entity_key] = {ATTR_DATA: data}

self._data[entity_key] = {
ATTR_DATA: await self.hass.async_add_executor_job(list, data)
}

async def _async_teams_status_update(self, key):
"""Update state."""
entity_key = key[CONF_ENTITY_KEY]
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.3b2"
"version": "v4.4.3b3"
}
1 change: 1 addition & 0 deletions docs/installation_and_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ o365:
- name: "User Chat"
todo_sensors:
enabled: False
enable_update: False # set this to true if you want to be able to create new tasks
- account_name: Account2
client_secret: "xx.xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
client_id: "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
Expand Down

0 comments on commit 5f255a6

Please sign in to comment.