mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Timer start service remove duration parameter (#28754)
This commit is contained in:
parent
71fa7d512b
commit
724878a111
@ -91,13 +91,12 @@ Pick an icon from [Material Design Icons](https://pictogrammers.com/library/mdi/
|
|||||||
|
|
||||||
### Service `timer.start`
|
### Service `timer.start`
|
||||||
|
|
||||||
Starts or restarts a timer with the provided duration. If no duration is given, it will either restart with its initial value, or continue a paused timer with the remaining duration. If a new duration is provided, this will be the new default for the timer until Home Assistant is restarted (which loads your default values). The duration can be specified as a number of seconds or the easier to read `01:23:45` format.
|
Starts or restarts a timer. It will either restart with its initial value, or continue a paused timer with the remaining duration.
|
||||||
You can also use `entity_id: all` and all active timers will be started.
|
You can also use `entity_id: all` and all active timers will be started.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `entity_id` | no | Name of the entity to take action, e.g., `timer.timer0`. |
|
| `entity_id` | no | Name of the entity to take action, e.g., `timer.timer0`. |
|
||||||
| `duration` | yes | Duration in seconds or `01:23:45` format until the timer finishes. |
|
|
||||||
|
|
||||||
### Service `timer.change`
|
### Service `timer.change`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user