Skip to content

Commit b83cff7

Browse files
SuGliderCopilot
andauthored
fix(matter): better commentary
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent db0062a commit b83cff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Matter/src/MatterEndpoints/MatterWindowCovering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ bool MatterWindowCovering::attributeChangeCB(uint16_t endpoint_id, uint32_t clus
152152

153153
if (endpoint_id == getEndPointId() && cluster_id == WindowCovering::Id) {
154154
switch (attribute_id) {
155-
// Current position attributes (read-only, updated by device)
155+
// Current position attributes (read-only to external Matter controllers; updated internally by device)
156156
case WindowCovering::Attributes::CurrentPositionLiftPercent100ths::Id: {
157157
uint16_t liftPercent100ths = val->val.u16;
158158
uint8_t liftPercent = (uint8_t)(liftPercent100ths / 100);

0 commit comments

Comments
 (0)