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.
54 lines
2.2 KiB
JSON
54 lines
2.2 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name}",
|
|
"step": {
|
|
"user": {
|
|
"description": "[%key:component::bluetooth::config::step::user::description%]",
|
|
"data": {
|
|
"address": "[%key:common::config_flow::data::device%]"
|
|
}
|
|
},
|
|
"bluetooth_confirm": {
|
|
"description": "[%key:component::bluetooth::config::step::bluetooth_confirm::description%]"
|
|
},
|
|
"pairing_timeout": {
|
|
"description": "The device did not enter pairing mode. Select Submit to try again.\n\n### Troubleshooting\n1. Check that the device isn't connected to the mobile app.\n2. Unplug the device for 5 seconds, then plug it back in."
|
|
}
|
|
},
|
|
"progress": {
|
|
"wait_for_pairing_mode": "To complete setup, put this device in pairing mode.\n\n### How to enter pairing mode\n1. Force quit SNOOZ mobile apps.\n2. Press and hold the power button on the device. Release when the lights start blinking (approximately 5 seconds)."
|
|
},
|
|
"abort": {
|
|
"no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
}
|
|
},
|
|
"services": {
|
|
"transition_on": {
|
|
"name": "Transition on",
|
|
"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 to transition to the target volume."
|
|
},
|
|
"volume": {
|
|
"name": "Target volume",
|
|
"description": "Relative volume level. If not specified, the setting on the device is used."
|
|
}
|
|
}
|
|
},
|
|
"transition_off": {
|
|
"name": "Transition off",
|
|
"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 to complete the transition."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|