Add score task action to Habitica (#35511)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Manu 2024-11-10 15:47:56 +01:00 committed by GitHub
parent 1dfc78a738
commit f0a580bf79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,6 +188,25 @@ Cancel a quest that has not yet started. All accepted and pending invitations wi
| -------------- | -------- | -------------------------------------------------------------- |
| `config_entry` | no | Config entry of the character to cancel the quest. |
### Action `habitica.score_habit`
Increase the positive or negative streak of a habit.
| Data attribute | Optional | Description |
| -------------- | -------- | ----------------------------------------------------------------------------------------------------------------- |
| `config_entry` | no | Config entry of the character tracking the habit. |
| `task` | no | The name, `task ID`, or **alias** of the habit to track. |
| `direction` | no | `up` for positive progress or `down` for negative progress you want to track for your habit. |
### Action `habitica.score_reward`
Buy a custom reward with gold.
| Data attribute | Optional | Description |
| -------------- | -------- | ----------------------------------------------------------------------------------------------------------------- |
| `config_entry` | no | Config entry of the character buying the reward. |
| `task` | no | The name, `task ID`, or **alias** of the custom reward to buy. |
## Automations
Get started with these automation examples for Habitica, each featuring ready-to-use blueprints!