fix: enforce minimum heating hysteresis

This commit is contained in:
Yurii committed 2026-11-29 10:24:06 +03:00
1 parent be6bbab16a
commit 86adbc0db7
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1532,7 +1532,7 @@ static SettingResult applySetting(HeatingSettings& dst, std::string_view path, f
return {};
}
if (value < 0.0f || value > 15.0f) {
if (value < 0.05f || value > 15.0f) {
return {};
}
+1 -1
View File
@@ -45,7 +45,7 @@ bool publishHaEntity(HaEntity entityId, bool remove) {
number->commandTopic = number->stateTopic + "/set";
number->category = HA::Category::CONFIG;
number->mode = HA::NumberMode::BOX;
number->min = 0;
number->min = 0.05f;
number->max = 15;
number->step = 0.01f;
number->icon = "mdi:altimeter";