![]() Within the documentation for the Sync API you'll also find a Getting Started tutorial that will introduce you to using the Sync endpoint to send and receive data. This API also contains additional endpoints for areas like account management and less common features that may not yet be implemented on the newer REST API. It allows for incrementally sending and receiving account data by identifying positions in an account's state history using a sync token. The Todoist Sync API is used by our web and mobile applications and is recommended for clients that will maintain a local representation of a user's full account data. If you are totally new to our APIs or even unfamiliar with Todoist this is a great place to start. We've provided a Getting Started tutorial section within our REST API documentation to introduce you to the API and some common flows you'll encounter when developing Todoist applications. The Todoist REST API offers the simplest approach to read and write data on the Todoist web service.įor most common application requirements this is our recommended API for external developers and uses an approach that should be familiar for anyone with experience calling RESTful APIs. 00:47:46.627 ERROR (MainThread) Update for calendar.due_today fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_update raise exc File "/config/custom_components/todoist/calendar.py", line 363, in async_update await _update() File "/config/custom_components/todoist/calendar.py", line 693, in async_update project_task_data = await self._api.get_tasks(project_id=self._id) File "/usr/local/lib/python3.10/site-packages/todoist_api_python/api_async.py", line 26, in get_tasks return await run_async(lambda: self._api.get_tasks(**kwargs)) File "/usr/local/lib/python3.10/site-packages/todoist_api_python/utils.py", line 18, in run_async return await n_in_executor(None, func) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/todoist_api_python/api_async.py", line 26, in return await run_async(lambda: self._api.get_tasks(**kwargs)) File "/usr/local/lib/python3.10/site-packages/todoist_api_python/api.py", line 50, in get_tasks tasks = get(self._session, endpoint, self._token, kwargs) File "/usr/local/lib/python3.10/site-packages/todoist_api_python/http_requests.py", line 22, in get response.raise_for_status() File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.“todoist” provide Two open APIs for users to call their own data. The calendar labeled 'Inbox' correctly pulled in tasks for me, but the calenders 'Due Today', 'All Projects', and 'Due This Week' failed. You are receiving this because you were mentioned.Message ID: was able to get the calendar working putting into a custom component format and location.įor those who run docker, you can force the package install with:ĭocker exec home-assistant pip install todoist-api-python ![]() Reply to this email directly, view it on GitHub, or unsubscribe. Hopefully this will resolve this problem in the future. Instead I'm going to focus on migrating this to support the new rest-api library provided by todoist. The library this integration is using has been deprecated so I probably will not be investing any more time debugging this particular issue since there is a way to get around the problem. To: home-assistant/core Justin Ellison Mention Re: Todoist integration stopped after updating to 2022.9.7 (Issue Thanks for the suggestion for the work I'm glad you were able to use the work around to get this functionality working again. KeyError: 'tz_info' Additional informationįrom: Aaron Godfrey Thursday, Septem12:02 PM 13:37:14.970 ERROR (MainThread) Update for fails Todoist_task = self.create_todoist_task(task)įile "/usr/src/homeassistant/homeassistant/components/todoist/calendar.py", line 468, in create_todoist_taskĭata, self._api.state Result = self.fn( *self.args, **self.kwargs)įile "/usr/src/homeassistant/homeassistant/components/todoist/calendar.py", line 313, in updateįile "/usr/src/homeassistant/homeassistant/components/todoist/calendar.py", line 643, in update 13:37:14.641 ERROR (MainThread) Update for calendar.inbox failsįile "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_stateįile "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_updateįile "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |