* Fix two strings for the Generic hygrostat UI The 'min_cycle_duration' key shown when setting up a Generic hygrostat contains the words "in the humidifier option" which makes no sense anymore in the UI context. So these words can be dropped, making this explanation exactly identical to the same key in the Generic thermostat. In addition there is an "s" missing in the main description here. * Replace "be" with "remain" and use "toggle" Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com> * Fix the title string to use "Create" instead of "Add" Anything the user creates should use "Create …", not "Add …". The description we're addressing in the fix already has this correct. This commit adds the fix for the title. Makes it consistent with the majority of Helpers, rest needs to be addressed in separate PRs. --------- Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
57 lines
2.8 KiB
JSON
57 lines
2.8 KiB
JSON
{
|
|
"title": "Generic hygrostat",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Create generic hygrostat",
|
|
"description": "Create a humidifier entity that controls the humidity via a switch and sensor.",
|
|
"data": {
|
|
"device_class": "Device class",
|
|
"dry_tolerance": "Dry tolerance",
|
|
"humidifier": "Switch",
|
|
"min_cycle_duration": "Minimum cycle duration",
|
|
"name": "[%key:common::config_flow::data::name%]",
|
|
"target_sensor": "Humidity sensor",
|
|
"wet_tolerance": "Wet tolerance"
|
|
},
|
|
"data_description": {
|
|
"dry_tolerance": "The minimum amount of difference between the humidity read by the sensor specified in the target sensor option and the target humidity that must change prior to being switched on.",
|
|
"humidifier": "Humidifier or dehumidifier switch; must be a toggle device.",
|
|
"min_cycle_duration": "Set a minimum duration for which the specified switch must remain in its current state before it can be toggled off or on.",
|
|
"target_sensor": "Sensor with current humidity.",
|
|
"wet_tolerance": "The minimum amount of difference between the humidity read by the sensor specified in the target sensor option and the target humidity that must change prior to being switched off."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"device_class": "[%key:component::generic_hygrostat::config::step::user::data::device_class%]",
|
|
"dry_tolerance": "[%key:component::generic_hygrostat::config::step::user::data::dry_tolerance%]",
|
|
"humidifier": "[%key:component::generic_hygrostat::config::step::user::data::humidifier%]",
|
|
"min_cycle_duration": "[%key:component::generic_hygrostat::config::step::user::data::min_cycle_duration%]",
|
|
"target_sensor": "[%key:component::generic_hygrostat::config::step::user::data::target_sensor%]",
|
|
"wet_tolerance": "[%key:component::generic_hygrostat::config::step::user::data::wet_tolerance%]"
|
|
},
|
|
"data_description": {
|
|
"dry_tolerance": "[%key:component::generic_hygrostat::config::step::user::data_description::dry_tolerance%]",
|
|
"humidifier": "[%key:component::generic_hygrostat::config::step::user::data_description::humidifier%]",
|
|
"min_cycle_duration": "[%key:component::generic_hygrostat::config::step::user::data_description::min_cycle_duration%]",
|
|
"target_sensor": "[%key:component::generic_hygrostat::config::step::user::data_description::target_sensor%]",
|
|
"wet_tolerance": "[%key:component::generic_hygrostat::config::step::user::data_description::wet_tolerance%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"device_class": {
|
|
"options": {
|
|
"humidifier": "Humidifier",
|
|
"dehumidifier": "Dehumidifier"
|
|
}
|
|
}
|
|
}
|
|
}
|