From 3a721c2541de5335de29ae4354c1b4f78cd44abc Mon Sep 17 00:00:00 2001 From: Szilveszter Szebeni Date: Sun, 15 Feb 2026 15:51:55 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Correct=20MinSetpointDeadBand=20bounds?= =?UTF-8?q?=20to=20use=20int8=5Ft=20MinSetpointDeadBand=20is=20defined=20a?= =?UTF-8?q?s=20an=20int8=5Ft,=20but=20the=20bounds=20were=20incorrectly=20?= =?UTF-8?q?created=20using=20int16=5Ft.=20Updated=20bounds=20to=20use=20in?= =?UTF-8?q?t8=5Ft=20with=20the=20correct=20range=20(0=E2=80=93127).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../esp_matter/data_model/esp_matter_attribute_bounds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_matter/data_model/esp_matter_attribute_bounds.cpp b/components/esp_matter/data_model/esp_matter_attribute_bounds.cpp index 5a996bd14a..6a1335219d 100644 --- a/components/esp_matter/data_model/esp_matter_attribute_bounds.cpp +++ b/components/esp_matter/data_model/esp_matter_attribute_bounds.cpp @@ -475,8 +475,8 @@ void add_bounds_cb(cluster_t *cluster) break; } case Thermostat::Attributes::MinSetpointDeadBand::Id: { - int16_t min = 0, max = 1270; - esp_matter::attribute::add_bounds(current_attribute, esp_matter_int16(min), esp_matter_int16(max)); + int8_t min = 0, max = 127; + esp_matter::attribute::add_bounds(current_attribute, esp_matter_int8(min), esp_matter_int8(max)); break; } case Thermostat::Attributes::ControlSequenceOfOperation::Id: {