Skip to content
Snippets Groups Projects
Unverified Commit 11348959 authored by Norbert Rittel's avatar Norbert Rittel Committed by GitHub
Browse files

Make descriptions of `keymitt_ble.calibrate` action UI-friendly (#139866)

* Make descriptions of `keymitt_ble.calibrate` action UI-friendly

Update the action and field descriptions to better work within the graphical UI (selector / units shown) and for translations.

* Change to "press or release" to cover the 'Invert' mode
parent 935890e4
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
"services": {
"calibrate": {
"name": "Calibrate",
"description": "Calibration - Set depth, press & hold duration, and operation mode. Warning - this will send a push command to the device.",
"description": "Sets the depth, press or release duration, and operation mode. Warning - this will send a push command to the device.",
"fields": {
"entity_id": {
"name": "Entity",
......@@ -42,15 +42,15 @@
},
"depth": {
"name": "Depth",
"description": "Depth in percent."
"description": "How far to extend the push arm."
},
"duration": {
"name": "Duration",
"description": "Duration in seconds."
"description": "How long to press or release."
},
"mode": {
"name": "[%key:common::config_flow::data::mode%]",
"description": "Normal | invert | toggle."
"description": "The operation mode of the arm."
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment