Skip to content

Commit 1205646

Browse files
proppypull[bot]
authored andcommitted
all-clusters-app/esp32: add missing onoff vled side effect (#7573)
1 parent 87cfd3b commit 1205646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ void DeviceCallbacks::OnOnOffPostAttributeChangeCallback(EndpointId endpointId,
143143

144144
// At this point we can assume that value points to a bool value.
145145
mEndpointOnOffState[endpointId - 1] = *value;
146+
endpointId == 1 ? statusLED1.Set(*value) : statusLED2.Set(*value);
146147

147148
exit:
148149
return;

0 commit comments

Comments
 (0)