Standardised entity name throughout page

from count0 and my_custom_counter to all be my_custom_counter in examples.
This commit is contained in:
Phill Price 2018-09-01 16:38:51 +01:00 committed by GitHub
parent 4c7144c0ed
commit 506d408771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ Increments the counter with 1 or the given value for the steps.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.count0`. |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter`. |
#### {% linkable_title Service `counter.decrement` %}
@ -52,7 +52,7 @@ Decrements the counter with 1 or the given value for the steps.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.count0`. |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter`. |
#### {% linkable_title Service `counter.reset` %}
@ -60,7 +60,7 @@ With this service the counter is reset to its initial value.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.count0`. |
| `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter`. |
### {% linkable_title Use the service %}
@ -69,7 +69,7 @@ Select <img src='/images/screenshots/developer-tool-services-icon.png' alt='serv
```json
{
"entity_id": "counter.count0"
"entity_id": "counter.my_custom_counter"
}
```