Counter service configure (#10924)

This commit is contained in:
Santobert 2019-10-22 00:01:47 +02:00 committed by Paulus Schoutsen
parent 98c80b453b
commit c6218c49cc

View File

@ -71,7 +71,7 @@ If `restore` is set to `false`, the `initial` value will only be used when no pr
## Services
Available services: `increment`, `decrement`, and `reset`.
Available services: `increment`, `decrement`, `reset` and `configure`.
#### Service `counter.increment`
@ -106,7 +106,9 @@ With this service the properties of the counter can be changed while running.
| `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 |
| `step` | yes | Set new value for step. |
| `initial` | yes | Set new value for initial. |
| `value` | yes | Set the counters state to the given value. |