* Added basic Todoist support Creating a new platform for Todoist - https://todoist.com * Added more robust support for creating new custom projects. This means you can now specify things such as 'all tasks due today', 'all tasks due this week', etc. * Changed logging from warning to info. * Added label and comment support. * Added support for overdue tasks. * Changed logging to info instead of warning; fixed labels. * Added ability to filter projects by name. * Rename 'extra_projects' to 'custom_projects'. * Updated code to follow proper HASS style guidelines. * Got new_task service running. * Update .coveragerc. * Remove old try-catch block. This is left over from before we validated the inputs using the service schema. * Updated to use PLATFORM_SCHEMA. * Updated component to use Todoist API. * Removed commented-out code. This also removes functionality regarding finding out how many comments a task has. This functionality may be added back in the future. * Clarified TodoistProjectData, removed fetching comments. * Fixed bug where projects were grabbing all tasks. * Fixed bug where due dates were being ignored. * Removed debug logging. * Fixed linter errors. * Fixed Todoist docstring to be in line with HASS' style rules. * Organized imports. * Fixed voluptuous schema. * Moved ID lookups into . * Moved ID lookups into setup_platform. * Cleaned up setup_platform a bit. * Cleaned up Todoist service calls. * Changed debug logging level. * Fixed issue with configuration not validating. * Changed from storing the token to storing an API instance. * Use dict instead of Project object. * Updated to use list comprehension where possible. * Fixed linter errors. * Use constants instead of literals. * Changed logging to use old-style string formatting. * Removed unneeded caching. * Added comments explaining 'magic' strings. * Fixed bug where labels were always on the whitelist. * Fixed linter error. * Stopped checking whitelist length explicitly.
20 lines
742 B
YAML
20 lines
742 B
YAML
todoist:
|
|
new_task:
|
|
description: Create a new task and add it to a project.
|
|
fields:
|
|
content:
|
|
description: The name of the task. [Required]
|
|
example: Pick up the mail
|
|
project:
|
|
description: The name of the project this task should belong to. Defaults to Inbox. [Optional]
|
|
example: Errands
|
|
labels:
|
|
description: Any labels that you want to apply to this task, separated by a comma. [Optional]
|
|
example: Chores,Deliveries
|
|
priority:
|
|
description: The priority of this task, from 1 (normal) to 4 (urgent). [Optional]
|
|
example: 2
|
|
due_date:
|
|
description: The day this task is due, in format YYYY-MM-DD. [Optional]
|
|
example: "2018-04-01"
|