@@ -44,23 +44,23 @@ Increments the counter with 1 or the given value for the steps.
44
44
45
45
| Service data attribute | Optional | Description |
46
46
| ---------------------- | -------- | ----------- |
47
- | `entity_id` | no | Name of the entity to take action, e.g., `counter.count0 `. |
47
+ | `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter `. |
48
48
49
49
# ### {% linkable_title Service `counter.decrement` %}
50
50
51
51
Decrements the counter with 1 or the given value for the steps.
52
52
53
53
| Service data attribute | Optional | Description |
54
54
| ---------------------- | -------- | ----------- |
55
- | `entity_id` | no | Name of the entity to take action, e.g., `counter.count0 `. |
55
+ | `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter `. |
56
56
57
57
# ### {% linkable_title Service `counter.reset` %}
58
58
59
59
With this service the counter is reset to its initial value.
60
60
61
61
| Service data attribute | Optional | Description |
62
62
| ---------------------- | -------- | ----------- |
63
- | `entity_id` | no | Name of the entity to take action, e.g., `counter.count0 `. |
63
+ | `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter `. |
64
64
65
65
66
66
# ## {% linkable_title Use the service %}
@@ -69,7 +69,7 @@ Select <img src='/images/screenshots/developer-tool-services-icon.png' alt='serv
69
69
70
70
` ` ` json
71
71
{
72
- "entity_id": "counter.count0 "
72
+ "entity_id": "counter.my_custom_counter "
73
73
}
74
74
` ` `
75
75
0 commit comments