Make actions in flo integration UI-friendly (#140522)

Makes actions in `flo` integration UI-friendly

- replace key name `sleep_minutes` with its friendly name to match the UI (in translations)
- replace "time" with "duration" to reduce the ambiguity
- use third-person singular for `run_health_test` description for consistency (in translations)
This commit is contained in:
Norbert Rittel 2025-03-13 16:39:12 +01:00 committed by GitHub
parent 3bba781554
commit c92ee120b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,11 +60,11 @@
"fields": {
"sleep_minutes": {
"name": "Sleep minutes",
"description": "The time to sleep in minutes."
"description": "The duration to sleep in minutes."
},
"revert_to_mode": {
"name": "Revert to mode",
"description": "The mode to revert to after sleep_minutes has elapsed."
"description": "The mode to revert to after the 'Sleep minutes' duration has elapsed."
}
}
},
@ -78,7 +78,7 @@
},
"run_health_test": {
"name": "Run health test",
"description": "Have the Flo device run a health test."
"description": "Requests the Flo device to run a health test."
}
}
}