mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Standardised entity name throughout page
from count0 and my_custom_counter to all be my_custom_counter in examples.
This commit is contained in:
parent
4c7144c0ed
commit
506d408771
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user