Skip to content

Commit

Permalink
adding a profileID constant for matter helper (project-chip#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 authored Oct 22, 2024
1 parent 3a5b85a commit 3ef94ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src-shared/db-enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ exports.rootNode = {
endpointId: 0,
getParentEndpointIdentifier: null,
deviceVersion: 1,
type: 'rootNode'
type: 'rootNode',
profileID: 259
}

exports.packageOptionCategory = {
Expand Down
3 changes: 2 additions & 1 deletion src/store/zap/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ export async function loadComposition(context) {
let endpoint = await addEndpoint(context, {
endpointId: dbEnum.rootNode.endpointId,
parentEndpointIdentifier: dbEnum.rootNode.parentEndpointIdentifier,
endpointType: endpointTypeData.id
endpointType: endpointTypeData.id,
profileId: dbEnum.rootNode.profileID
})
return endpoint
}
Expand Down

0 comments on commit 3ef94ba

Please sign in to comment.