mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Add clearer descriptions to all Timer actions (#132571)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
3a65d1b611
commit
2d4fe5853f
@ -34,33 +34,33 @@
|
||||
"services": {
|
||||
"start": {
|
||||
"name": "[%key:common::action::start%]",
|
||||
"description": "Starts a timer.",
|
||||
"description": "Starts a timer or restarts it with a provided duration.",
|
||||
"fields": {
|
||||
"duration": {
|
||||
"name": "Duration",
|
||||
"description": "Duration the timer requires to finish. [optional]."
|
||||
"description": "Custom duration to restart the timer with."
|
||||
}
|
||||
}
|
||||
},
|
||||
"pause": {
|
||||
"name": "[%key:common::action::pause%]",
|
||||
"description": "Pauses a timer."
|
||||
"description": "Pauses a running timer, retaining the remaining duration for later continuation."
|
||||
},
|
||||
"cancel": {
|
||||
"name": "Cancel",
|
||||
"description": "Cancels a timer."
|
||||
"description": "Resets a timer's duration to the last known initial value without firing the timer finished event."
|
||||
},
|
||||
"finish": {
|
||||
"name": "Finish",
|
||||
"description": "Finishes a timer."
|
||||
"description": "Finishes a running timer earlier than scheduled."
|
||||
},
|
||||
"change": {
|
||||
"name": "Change",
|
||||
"description": "Changes a timer.",
|
||||
"description": "Changes a timer by adding or subtracting a given duration.",
|
||||
"fields": {
|
||||
"duration": {
|
||||
"name": "Duration",
|
||||
"description": "Duration to add or subtract to the running timer."
|
||||
"description": "Duration to add to or subtract from the running timer."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user