Increment a counter helper
helpers_increment_counterIncrement a Home Assistant counter by its configured step to count event occurrences. Not for resetting to zero.
Instructions
Increment a counter helper by its configured step.
Calls counter.increment with {"entity_id": entity_id} over HTTP;
repeating this call keeps increasing the counter's value.
Use when: counting up an event occurrence.
Not for: setting the counter back to zero — use
helpers_reset_counter.
Returns: the list of states changed by the call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>"
},
"name": "helpers_increment_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full counter entity ID to increment, e.g. 'counter.visits'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |