Add update_daily action to Habitica integration (#37912)

* Add update_daily action

* typos
This commit is contained in:
Manu 2025-03-14 17:20:41 +01:00 committed by GitHub
parent 5313d30e3a
commit 14a797fd32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -384,6 +384,34 @@ Creates a to-do for the selected Habitica character.
| `tag` | yes | Add tags to the Habitica to-do. If a tag does not already exist, a new one will be created. | | `tag` | yes | Add tags to the Habitica to-do. If a tag does not already exist, a new one will be created. |
| `alias` | yes | A task alias can be used instead of the name or task ID. Only dashes, underscores, and alphanumeric characters are supported. The task alias must be unique among all your tasks. | | `alias` | yes | A task alias can be used instead of the name or task ID. Only dashes, underscores, and alphanumeric characters are supported. The task alias must be unique among all your tasks. |
### Action `habitica.update_daily`
Updates a specific daily for the selected Habitica character.
| Data attribute | Optional | Description |
| -------------- | -------- | -------------------------------------------------------------------------------------------- |
| `config_entry` | no | Select the Habitica account to update a daily. |
| `task` | no | The name (or task ID) of the daily you want to update. |
| `rename` | yes | The new title for the Habitica daily. |
| `notes` | yes | The new notes for the Habitica daily. |
| `add_checklist_item` | yes | The items to add to the daily's checklist. |
| `remove_checklist_item` | yes | Remove items from a daily's checklist. |
| `score_checklist_item` | yes | Mark items from a daily's checklist as completed. |
| `unscore_checklist_item` | yes | Undo completion of items of a daily's checklist. |
| `priority` | yes | Update the difficulty of a daily. Valid values: `trivial`, `easy`, `medium`, `hard` |
| `start_date` | yes | Defines when the daily task becomes active and specifies the exact weekday or day of the month it repeats on. |
| `frequency` | yes | The repetition interval of a daily. Valid values: `daily`, `weekly`, `monthly`, `yearly`. |
| `every_x` | yes | The number of intervals (`days`, `weeks`, `months`, or `years`) after which the daily repeats, based on the chosen repetition interval. A value of 0 makes the daily inactive (a *Gray Daily*). |
| `repeat` | yes | The days of the week the daily repeats. Applicable when the repetition interval is set to weekly. |
| `repeat_monthly` | yes | Whether a monthly recurring task repeats on the same calendar day each month (`day_of_month`), or on the same weekday and week of the month (`day_of_week`), based on the start date. Applicable when the repetition interval is set to monthly. |
| `reminder` | yes | Add reminders to a Habitica daily. |
| `remove_reminder` | yes | Remove specific reminders from a Habitica daily. |
| `clear_reminder` | yes | Remove all reminders from a Habitica daily. |
| `tag` | yes | Add tags to the Habitica daily. If a tag does not already exist, a new one will be created. |
| `remove_tag` | yes | Remove tags from the Habitica daily. |
| `streak` | yes | Adjust or reset the streak counter of the daily. |
| `alias` | yes | A task alias can be used instead of the name or task ID. Only dashes, underscores, and alphanumeric characters are supported. The task alias must be unique among all your tasks. |
## Automations ## Automations
Get started with these automation examples for Habitica, each featuring ready-to-use blueprints! Get started with these automation examples for Habitica, each featuring ready-to-use blueprints!