mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Add change service to timer (#25446)
This commit is contained in:
parent
882270b61e
commit
f2cd585da4
@ -99,6 +99,15 @@ You can also use `entity_id: all` and all active timers will be started.
|
|||||||
| `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. |
|
| `duration` | yes | Duration in seconds or `01:23:45` format until the timer finishes. |
|
||||||
|
|
||||||
|
### Service `timer.change`
|
||||||
|
|
||||||
|
Change an active timer. This changes the duration of the timer with the duration given. You can also use `entity_id: all` and all active timers will be changed.
|
||||||
|
|
||||||
|
| Service data attribute | Optional | Description |
|
||||||
|
| ---------------------- | -------- | ----------- |
|
||||||
|
| `entity_id` | no | Name of the entity to take action, e.g., `timer.timer0`. |
|
||||||
|
| `duration` | no | Duration in seconds or `00:00:00` to add or subtract from the running timer. |
|
||||||
|
|
||||||
### Service `timer.pause`
|
### Service `timer.pause`
|
||||||
|
|
||||||
Pause a running timer. This will retain the remaining duration for later continuation. You can also use `entity_id: all` and all active timers will be paused.
|
Pause a running timer. This will retain the remaining duration for later continuation. You can also use `entity_id: all` and all active timers will be paused.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user