Improve descriptions of fan_min_on_time in ecobee actions (#141086)

Add the explanations from the online docs to the `description` strings of both the `set_fan_min_on_time` action and its `fan_min_on_time` field.

Make the `fan_min_on_time` field of the `create_vacation` action consistent by dropping "(0 to 60)" from it (the UI takes care of that).

Fix sentence-casing of "Away indefinitely" state.
This commit is contained in:
Norbert Rittel 2025-03-22 15:30:24 +01:00 committed by GitHub
parent 4479b7b13d
commit 2453e7e686
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@
"state_attributes": { "state_attributes": {
"preset_mode": { "preset_mode": {
"state": { "state": {
"away_indefinitely": "Away Indefinitely" "away_indefinitely": "Away indefinitely"
} }
} }
} }
@ -91,7 +91,7 @@
}, },
"fan_min_on_time": { "fan_min_on_time": {
"name": "Fan minimum on time", "name": "Fan minimum on time",
"description": "Minimum number of minutes to run the fan each hour (0 to 60) during the vacation." "description": "Minimum number of minutes to run the fan each hour during the vacation."
} }
} }
}, },
@ -125,7 +125,7 @@
}, },
"set_fan_min_on_time": { "set_fan_min_on_time": {
"name": "Set fan minimum on time", "name": "Set fan minimum on time",
"description": "Sets the minimum fan on time.", "description": "Sets the minimum amount of time that the fan will run per hour.",
"fields": { "fields": {
"entity_id": { "entity_id": {
"name": "Entity", "name": "Entity",
@ -133,7 +133,7 @@
}, },
"fan_min_on_time": { "fan_min_on_time": {
"name": "[%key:component::ecobee::services::create_vacation::fields::fan_min_on_time::name%]", "name": "[%key:component::ecobee::services::create_vacation::fields::fan_min_on_time::name%]",
"description": "New value of fan min on time." "description": "Minimum number of minutes to run the fan each hour."
} }
} }
}, },