mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Set required attribute when using Todoist Sync API reminder_add command (#122644)
* Set type=absolute when using Todoist Sync API reminder_add command. This argument is required: ref.: https://developer.todoist.com/sync/v8/#add-a-reminder * Fix --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
aa8c4a6eb7
commit
7bab3579ec
@ -331,7 +331,11 @@ def async_register_services( # noqa: C901
|
|||||||
"type": "reminder_add",
|
"type": "reminder_add",
|
||||||
"temp_id": str(uuid.uuid1()),
|
"temp_id": str(uuid.uuid1()),
|
||||||
"uuid": str(uuid.uuid1()),
|
"uuid": str(uuid.uuid1()),
|
||||||
"args": {"item_id": api_task.id, "due": reminder_due},
|
"args": {
|
||||||
|
"item_id": api_task.id,
|
||||||
|
"type": "absolute",
|
||||||
|
"due": reminder_due,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user