Reset a counter helper
helpers_reset_counterReset a Home Assistant counter entity to zero, clearing its runtime value. Use when you need to restart a counter from its initial state.
Instructions
Reset a counter helper's value back to 0.
Calls counter.reset with {"entity_id": entity_id} over HTTP; the
counter is runtime UI state, not stored configuration.
Use when: clearing a counter back to its initial value.
Not for: increasing it by one — use helpers_increment_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_reset_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full counter entity ID to reset, e.g. 'counter.visits'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |