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.
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 |