-
Notifications
You must be signed in to change notification settings - Fork 0
Services
TaskMate exposes services that can be called from automations, scripts, the Developer Tools, or the HA mobile app.
All services are under the taskmate domain.
Mark a chore as completed by a child.
| Parameter | Required | Description |
|---|---|---|
chore_id |
Yes | ID of the chore to complete |
child_id |
Yes | ID of the child completing the chore |
If the chore has requires_approval: true, a pending completion is created. Points are held until approved.
service: taskmate.complete_chore
data:
chore_id: b3f9a12c
child_id: a8c8376aApprove a pending chore completion and award points.
| Parameter | Required | Description |
|---|---|---|
completion_id |
Yes | ID of the completion to approve |
Points are awarded on approval. Weekend multiplier and streak milestone bonuses are applied at this point.
service: taskmate.approve_chore
data:
completion_id: 9f1e3b7aFinding the completion_id: Check
sensor.taskmate_overviewattributes →pending_completionsarray, orsensor.pending_approvalsattributes →chore_completionsarray.
Reject a pending chore completion. No points are awarded.
| Parameter | Required | Description |
|---|---|---|
completion_id |
Yes | ID of the completion to reject |
The completion record is removed entirely.
service: taskmate.reject_chore
data:
completion_id: 9f1e3b7aCreate a pending reward claim for a child. Points are not deducted until the claim is approved.
| Parameter | Required | Description |
|---|---|---|
reward_id |
Yes | ID of the reward to claim |
child_id |
Yes | ID of the child claiming the reward |
service: taskmate.claim_reward
data:
reward_id: e7c2a91f
child_id: a8c8376aApprove a reward claim. Points are deducted from the child's balance.
| Parameter | Required | Description |
|---|---|---|
claim_id |
Yes | ID of the reward claim to approve |
service: taskmate.approve_reward
data:
claim_id: 4d8b2f1eFinding the claim_id: Check
sensor.pending_approvalsattributes →reward_claimsarray, orsensor.taskmate_overviewattributes →pending_reward_claims.
Reject a reward claim. No points are deducted (they were never deducted).
| Parameter | Required | Description |
|---|---|---|
claim_id |
Yes | ID of the reward claim to reject |
service: taskmate.reject_reward
data:
claim_id: 4d8b2f1eManually add bonus points to a child. Logged in the activity feed.
| Parameter | Required | Description |
|---|---|---|
child_id |
Yes | ID of the child |
points |
Yes | Number of points to add (1–10000) |
reason |
No | Optional reason shown in activity feed |
service: taskmate.add_points
data:
child_id: a8c8376a
points: 10
reason: "Helped with the shopping"Manually remove points from a child (consequence/penalty). Logged in the activity feed.
| Parameter | Required | Description |
|---|---|---|
child_id |
Yes | ID of the child |
points |
Yes | Number of points to remove (1–10000) |
reason |
No | Optional reason shown in activity feed |
service: taskmate.remove_points
data:
child_id: a8c8376a
points: 5
reason: "Left shoes on the stairs"Set the custom display order for chores on a child's card.
| Parameter | Required | Description |
|---|---|---|
child_id |
Yes | ID of the child |
chore_order |
Yes | Ordered list of chore IDs |
service: taskmate.set_chore_order
data:
child_id: a8c8376a
chore_order:
- b3f9a12c
- e7c2a91f
- 4d8b2f1eFire a browser event to preview a completion sound. Useful for testing sounds during chore setup.
| Parameter | Required | Description |
|---|---|---|
sound |
Yes | Sound name to preview |
service: taskmate.preview_sound
data:
sound: fanfareValid values: none, coin, levelup, fanfare, chime, powerup, undo, fart1–fart10, fart_random
The sound plays in the browser where the HA frontend is open. It does not play through speakers or media players.
- Go to Developer Tools → Services
- Search for
taskmate - Select the service
- Fill in the parameters using the visual form or YAML mode
- Click Call Service
TaskMate also creates HA Button entities for common actions that don't need parameters:
-
button.{child_name}_complete_{chore_name}— one button per child/chore combination -
button.{child_name}_claim_{reward_name}— one button per child/reward combination
These appear in Settings → Devices & Services → TaskMate → Entities and can be used in dashboards or automations without needing to know the IDs.
Create a new penalty definition.
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Display name |
points |
Yes | Points to deduct when applied |
description |
No | Optional explanation |
icon |
No | MDI icon slug |
Update an existing penalty.
| Parameter | Required | Description |
|---|---|---|
penalty_id |
Yes | ID of the penalty |
name |
No | New name |
points |
No | New point value |
description |
No | New description |
icon |
No | New MDI icon |
Delete a penalty definition.
| Parameter | Required | Description |
|---|---|---|
penalty_id |
Yes | ID of the penalty |
Apply a penalty to a child — points deducted immediately.
| Parameter | Required | Description |
|---|---|---|
penalty_id |
Yes | ID of the penalty |
child_id |
Yes | ID of the child |