Skip to content

Commit

Permalink
Update src/darwin/Framework/CHIP/MTRDeviceController.mm
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
jtung-apple and bzbarsky-apple authored Feb 6, 2024
1 parent 11095b0 commit 90e3324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDeviceController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ - (MTRDevice *)deviceForNodeID:(NSNumber *)nodeID
_nodeIDToDeviceMap[nodeID] = deviceToReturn;
}

// Load persisted attributes if exists
// Load persisted attributes if they exist.
NSArray * attributesFromCache = [_controllerDataStore getAttributeCacheForNodeID:nodeID];
if (attributesFromCache) {
[deviceToReturn setAttributeValues:attributesFromCache reportChanges:NO];
Expand Down

0 comments on commit 90e3324

Please sign in to comment.