Skip to content

Commit

Permalink
Fix Todo Entity Names
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Dec 18, 2022
1 parent 0579b55 commit 27b81b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/o365/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"O365==2.0.24",
"BeautifulSoup4>=4.10.0"
],
"version": "v4.0.5",
"version": "v4.0.6",
"iot_class": "cloud_polling"
}
2 changes: 1 addition & 1 deletion custom_components/o365/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ async def _async_todo_entities(self, task_lists, config):
entities = []
tasks = self._account.tasks()
for task in task_lists:
name = task.get(CONF_NAME)
name = f"{task.get(CONF_NAME)} {self._account_name}"
track = task.get(CONF_TRACK)
task_list_id = task.get(CONF_TASK_LIST_ID)
entity_id = _build_entity_id(self.hass, name, self._config)
Expand Down

0 comments on commit 27b81b0

Please sign in to comment.