Replace duplicate keys with reference, improve field description (#138123)

- replace two fan_speed.name fields with references (analog to the fan_speed.description fields)
- make the description field a little more informative (it presents a slider from 0 to 100 %)
This commit is contained in:
Norbert Rittel 2025-02-10 00:04:00 +01:00 committed by GitHub
parent 31d2d968c4
commit 2f12187498
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@
"fields": { "fields": {
"fan_speed": { "fan_speed": {
"name": "Fan speed", "name": "Fan speed",
"description": "Fan speed." "description": "Relative speed of the built-in fans."
} }
} }
}, },
@ -119,7 +119,7 @@
"description": "Sets the fan speed of the Away profile.", "description": "Sets the fan speed of the Away profile.",
"fields": { "fields": {
"fan_speed": { "fan_speed": {
"name": "Fan speed", "name": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::name%]",
"description": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::description%]" "description": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::description%]"
} }
} }
@ -129,7 +129,7 @@
"description": "Sets the fan speed of the Boost profile.", "description": "Sets the fan speed of the Boost profile.",
"fields": { "fields": {
"fan_speed": { "fan_speed": {
"name": "Fan speed", "name": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::name%]",
"description": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::description%]" "description": "[%key:component::vallox::services::set_profile_fan_speed_home::fields::fan_speed::description%]"
} }
} }