mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Deprecate counter.configure service (#27483)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
01a129da91
commit
0e02226706
@ -85,7 +85,7 @@ If `restore` is set to `true`, the `initial` value will only be used when no pre
|
||||
|
||||
## Services
|
||||
|
||||
Available services: `increment`, `decrement`, `reset`, `set_value` and `configure`.
|
||||
Available services: `increment`, `decrement`, `reset`, and `set_value`.
|
||||
|
||||
### Service `counter.increment`
|
||||
|
||||
@ -120,19 +120,6 @@ This service allows setting the counter to a specific value.
|
||||
| `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter`. |
|
||||
| `value` | yes | Set the counter to the given value. |
|
||||
|
||||
### Service `counter.configure`
|
||||
|
||||
With this service the properties of the counter can be changed while running.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `entity_id` | no | Name of the entity to take action, e.g., `counter.my_custom_counter`. |
|
||||
| `minimum` | yes | Set new value for minimum. None disables minimum. |
|
||||
| `maximum` | yes | Set new value for maximum. None disables maximum. |
|
||||
| `step` | yes | Set new value for step. |
|
||||
| `initial` | yes | Set new value for initial. |
|
||||
| `value` | yes | Set the counters state to the given value. |
|
||||
|
||||
### Use the service
|
||||
|
||||
Select the **Services** tab from within **Developer Tools**. Choose **counter** from the list of **Domains**, select the **Service**, enter something like the sample below into the **Service Data** field, and hit **CALL SERVICE**.
|
||||
|
Loading…
x
Reference in New Issue
Block a user