mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update counter.markdown (#3518)
This commit is contained in:
parent
d9f7a2f672
commit
83d51c6f0a
@ -39,7 +39,7 @@ Pick an icon that you can find on [materialdesignicons.com](https://materialdesi
|
|||||||
### {% linkable_title Media control services %}
|
### {% linkable_title Media control services %}
|
||||||
Available services: `increment`, `decrement`, and `reset`.
|
Available services: `increment`, `decrement`, and `reset`.
|
||||||
|
|
||||||
#### {% linkable_title Service `counter/increment` %}
|
#### {% linkable_title Service `counter.increment` %}
|
||||||
|
|
||||||
Increments the counter with 1 or the given value for the steps.
|
Increments the counter with 1 or the given value for the steps.
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ Increments the counter with 1 or the given value for the steps.
|
|||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `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.count0`. |
|
||||||
|
|
||||||
#### {% linkable_title Service `counter/decrement` %}
|
#### {% linkable_title Service `counter.decrement` %}
|
||||||
|
|
||||||
Decrements the counter with 1 or the given value for the steps.
|
Decrements the counter with 1 or the given value for the steps.
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ Decrements the counter with 1 or the given value for the steps.
|
|||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `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.count0`. |
|
||||||
|
|
||||||
#### {% linkable_title Service `counter/reset` %}
|
#### {% linkable_title Service `counter.reset` %}
|
||||||
|
|
||||||
With this service the counter is reset to its initial value.
|
With this service the counter is reset to its initial value.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user