Skip to content

Commit 00eeb74

Browse files
fix(thermostat): MinSetpoint­DeadBand should be SignedTemperature
1 parent db159e1 commit 00eeb74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/esp_matter/esp_matter_attribute_bounds.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ void add_bounds_cb(cluster_t *cluster)
526526
break;
527527
}
528528
case Thermostat::Attributes::MinSetpointDeadBand::Id: {
529-
int16_t min = 0, max = 1270;
530-
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int16(min), esp_matter_int16(max));
529+
int8_t min = 0, max = 127;
530+
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int8(min), esp_matter_int8(max));
531531
break;
532532
}
533533
case Thermostat::Attributes::ControlSequenceOfOperation::Id: {

0 commit comments

Comments
 (0)