mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
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:
parent
3bba781554
commit
c92ee120b6
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user