Improve descriptions of `lyric.set_hold_time` action and field (#139385)

* Fix misleading descriptions on lyric.set_hold_time action

While on Honeywell Lyric thermostats the user can set a "Hold Until" time of day, the set_hold_time action does define a time period instead (Example: 01:00:00)

Therefore both descriptions are incorrectly using "until" for explaining the purpose of the action itself and the `time_period` field. 

This commit re-words both and adds some additional context that helps users (and translators) better understand this action and its purpose.

In addition the action name is changed to proper sentence-casing.

* Replace "time" with "duration" for additional clarity
pull/139468/head
Norbert Rittel 2025-02-27 21:47:20 +01:00 committed by GitHub
parent 938855bea3
commit ef7058f703
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -53,12 +53,12 @@
}, },
"services": { "services": {
"set_hold_time": { "set_hold_time": {
"name": "Set Hold Time", "name": "Set hold time",
"description": "Sets the time to hold until.", "description": "Sets the time period to keep the temperature and override the schedule.",
"fields": { "fields": {
"time_period": { "time_period": {
"name": "Time Period", "name": "Time period",
"description": "Time to hold until." "description": "Duration for which to override the schedule."
} }
} }
} }