Skip to content

Commit 599247e

Browse files
committed
Merge branch 'pr_1719' into 'main'
[GH_PR] Fix: Correct MinSetpointDeadBand bounds to use int8_t (CON-1986) See merge request app-frameworks/esp-matter!1433
2 parents 4d6a9ad + 3a721c2 commit 599247e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/esp_matter/data_model/esp_matter_attribute_bounds.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ void add_bounds_cb(cluster_t *cluster)
475475
break;
476476
}
477477
case Thermostat::Attributes::MinSetpointDeadBand::Id: {
478-
int16_t min = 0, max = 1270;
479-
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int16(min), esp_matter_int16(max));
478+
int8_t min = 0, max = 127;
479+
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int8(min), esp_matter_int8(max));
480480
break;
481481
}
482482
case Thermostat::Attributes::ControlSequenceOfOperation::Id: {

0 commit comments

Comments
 (0)