From cbb458e0c3c35f353954f82031c5cd1b3943759c Mon Sep 17 00:00:00 2001 From: Denis Tarasov Date: Sun, 7 Apr 2024 13:54:42 +0500 Subject: [PATCH] Improve description of hysteresis bounds (#4149) * doc: improve description of hysteresis bounds Signed-off-by: Denis Tarasov --- .../config/{hyteresisProfile.xml => hysteresisProfile.xml} | 4 ++-- .../src/main/resources/OH-INF/i18n/SystemProfiles.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/{hyteresisProfile.xml => hysteresisProfile.xml} (77%) diff --git a/bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hyteresisProfile.xml b/bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hysteresisProfile.xml similarity index 77% rename from bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hyteresisProfile.xml rename to bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hysteresisProfile.xml index 117468045ef..43a1b796276 100644 --- a/bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hyteresisProfile.xml +++ b/bundles/org.openhab.core.thing/src/main/resources/OH-INF/config/hysteresisProfile.xml @@ -7,11 +7,11 @@ - Maps to OFF if value is below lower bound (plain number or number with unit). + Maps to OFF if value is less than or equal to lower bound (plain number or number with unit). - Maps to ON if value is above upper bound (plain number or number with unit). + Maps to ON if value is greater than or equal to upper bound (plain number or number with unit). diff --git a/bundles/org.openhab.core.thing/src/main/resources/OH-INF/i18n/SystemProfiles.properties b/bundles/org.openhab.core.thing/src/main/resources/OH-INF/i18n/SystemProfiles.properties index 4011a1d3666..e4837fd5e9f 100644 --- a/bundles/org.openhab.core.thing/src/main/resources/OH-INF/i18n/SystemProfiles.properties +++ b/bundles/org.openhab.core.thing/src/main/resources/OH-INF/i18n/SystemProfiles.properties @@ -5,9 +5,9 @@ profile.config.system.offset.offset.label = Offset profile.config.system.offset.offset.description = Offset (plain number or number with unit) to be applied on the state towards the item. The negative offset will be applied in the reverse direction. profile-type.system.hysteresis.label = Hysteresis profile.config.system.hysteresis.lower.label = Lower Bound -profile.config.system.hysteresis.lower.description = Maps to OFF if value is below lower bound (plain number or number with unit). +profile.config.system.hysteresis.lower.description = Maps to OFF if value is less than or equal to lower bound (plain number or number with unit). profile.config.system.hysteresis.upper.label = Upper Bound -profile.config.system.hysteresis.upper.description = Maps to ON if value is above upper bound (plain number or number with unit). +profile.config.system.hysteresis.upper.description = Maps to ON if value is greater than or equal to upper bound (plain number or number with unit). profile.config.system.hysteresis.inverted.label = Inverted profile.config.system.hysteresis.inverted.description = Inverts resulting mapping of ON / OFF, if true. profile-type.system.range.label = Range