From a223860533198caf50160f8b4d4eb914ee029c7c Mon Sep 17 00:00:00 2001 From: Manu <4445816+tr4nt0r@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:20:32 +0200 Subject: [PATCH] Add description for cast_skill action in Habitica integration (#35088) Co-authored-by: Franck Nijhof --- source/_integrations/habitica.markdown | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/_integrations/habitica.markdown b/source/_integrations/habitica.markdown index bfad726544c..d9bc945398e 100644 --- a/source/_integrations/habitica.markdown +++ b/source/_integrations/habitica.markdown @@ -66,6 +66,25 @@ The following Habitica tasks are available as to-do lists in Home Assistant. You - **Rest in the Inn:** When enabled, allows your character to rest in the inn in Habitica, pausing damage dealt from dailies and quest bosses. +## Actions + +### Action `habitica.cast_skill` + +Use a skill or spell from your Habitica character on a specific task to affect its progress or status. + +| Data attribute | Optional | Description | +| -------------- | -------- | ----------------------------------------------------------------------------------------------------------------- | +| `config_entry` | no | Config entry of the character to cast the skill. | +| `skill` | no | Skill or spell you want to cast on the task. Only skills available to your character's class can be used. | +| `task` | no | The name of the task to target. Alternatively, you can use the `task ID` or **alias**. Supported task types are **to-do**, **habit**, and **daily**. | + +#### Available skills + +- **Rogue:** `pickpocket`, `backstab` +- **Warrior:** `smash` +- **Mage:** `fireball` + +To use task aliases, make sure **Developer Mode** is enabled under [**Settings -> Site Data**](https://habitica.com/user/settings/siteData). Task aliases can only be edited via the **Habitica** web client. ## API Service