Skip to content

Commit 506d408

Browse files
authored
Standardised entity name throughout page
from count0 and my_custom_counter to all be my_custom_counter in examples.
1 parent 4c7144c commit 506d408

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/_components/counter.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ Increments the counter with 1 or the given value for the steps.
4444

4545
| Service data attribute | Optional | Description |
4646
| ---------------------- | -------- | ----------- |
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`. |
4848

4949
#### {% linkable_title Service `counter.decrement` %}
5050

5151
Decrements the counter with 1 or the given value for the steps.
5252

5353
| Service data attribute | Optional | Description |
5454
| ---------------------- | -------- | ----------- |
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`. |
5656

5757
#### {% linkable_title Service `counter.reset` %}
5858

5959
With this service the counter is reset to its initial value.
6060

6161
| Service data attribute | Optional | Description |
6262
| ---------------------- | -------- | ----------- |
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`. |
6464

6565

6666
### {% linkable_title Use the service %}
@@ -69,7 +69,7 @@ Select <img src='/images/screenshots/developer-tool-services-icon.png' alt='serv
6969

7070
```json
7171
{
72-
"entity_id": "counter.count0"
72+
"entity_id": "counter.my_custom_counter"
7373
}
7474
```
7575

0 commit comments

Comments
 (0)