mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 00:20:30 +01:00
Improve timer action naming consistency
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
"services": {
|
"services": {
|
||||||
"cancel": {
|
"cancel": {
|
||||||
"description": "Resets a timer's duration to the last known initial value without firing the timer finished event.",
|
"description": "Resets a timer's duration to the last known initial value without firing the timer finished event.",
|
||||||
"name": "Cancel"
|
"name": "Cancel timer"
|
||||||
},
|
},
|
||||||
"change": {
|
"change": {
|
||||||
"description": "Changes a timer by adding or subtracting a given duration.",
|
"description": "Changes a timer by adding or subtracting a given duration.",
|
||||||
@@ -43,19 +43,19 @@
|
|||||||
"name": "Duration"
|
"name": "Duration"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"name": "Change"
|
"name": "Change timer"
|
||||||
},
|
},
|
||||||
"finish": {
|
"finish": {
|
||||||
"description": "Finishes a running timer earlier than scheduled.",
|
"description": "Finishes a running timer earlier than scheduled.",
|
||||||
"name": "Finish"
|
"name": "Finish timer"
|
||||||
},
|
},
|
||||||
"pause": {
|
"pause": {
|
||||||
"description": "Pauses a running timer, retaining the remaining duration for later continuation.",
|
"description": "Pauses a running timer, retaining the remaining duration for later continuation.",
|
||||||
"name": "[%key:common::action::pause%]"
|
"name": "Pause timer"
|
||||||
},
|
},
|
||||||
"reload": {
|
"reload": {
|
||||||
"description": "Reloads timers from the YAML-configuration.",
|
"description": "Reloads timers from the YAML-configuration.",
|
||||||
"name": "[%key:common::action::reload%]"
|
"name": "Reload timers"
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"description": "Starts a timer or restarts it with a provided duration.",
|
"description": "Starts a timer or restarts it with a provided duration.",
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
"name": "Duration"
|
"name": "Duration"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"name": "[%key:common::action::start%]"
|
"name": "Start timer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": "Timer"
|
"title": "Timer"
|
||||||
|
|||||||
Reference in New Issue
Block a user