Improve descriptions of snooz.transition_xx actions (#138403)
The current action descriptions of the snooz integration are easy to misunderstand and result in wrong translations. This commit replaces them with the wording from the online docs, slightly adapted for the UI that already displays the units and ranges.pull/138436/head^2
parent
d82dd9e7e6
commit
b9148d6368
|
@ -27,25 +27,25 @@
|
|||
"services": {
|
||||
"transition_on": {
|
||||
"name": "Transition on",
|
||||
"description": "Transitions to a target volume level over time.",
|
||||
"description": "Transitions the volume level over a specified duration. If the device is powered off, the transition will start at the lowest volume level.",
|
||||
"fields": {
|
||||
"duration": {
|
||||
"name": "Transition duration",
|
||||
"description": "Time it takes to reach the target volume level."
|
||||
"description": "Time to transition to the target volume."
|
||||
},
|
||||
"volume": {
|
||||
"name": "Target volume",
|
||||
"description": "If not specified, the volume level is read from the device."
|
||||
"description": "Relative volume level. If not specified, the setting on the device is used."
|
||||
}
|
||||
}
|
||||
},
|
||||
"transition_off": {
|
||||
"name": "Transition off",
|
||||
"description": "Transitions volume off over time.",
|
||||
"description": "Transitions the volume level to the lowest setting over a specified duration, then powers off the device.",
|
||||
"fields": {
|
||||
"duration": {
|
||||
"name": "[%key:component::snooz::services::transition_on::fields::duration::name%]",
|
||||
"description": "Time it takes to turn off."
|
||||
"description": "Time to complete the transition."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue