File tree 1 file changed +8
-1
lines changed
src/data-model-providers/codegen
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -285,11 +285,18 @@ CHIP_ERROR CodegenDataModelProvider::Attributes(const ConcreteClusterPath & path
285
285
ReturnErrorOnFailure (builder.Append (AttributeEntryFrom (path, attribute)));
286
286
}
287
287
288
+
289
+ // This "GlobalListEntry" is specific for metadata that ember does not include
290
+ // in its attribute list metadata.
291
+ //
292
+ // By spec these Attribute/AcceptedCommands/GeneratedCommants lists are:
293
+ // - lists of elements
294
+ // - read-only, with read privilege view
295
+ // - fixed value (no such flag exists, so this is not a quality flag we set/track)
288
296
DataModel::AttributeEntry globalListEntry;
289
297
290
298
globalListEntry.readPrivilege = Access::Privilege::kView ;
291
299
globalListEntry.flags .Set (DataModel::AttributeQualityFlags::kListAttribute );
292
- // these entries should also be `Fixed` however no such flag is propagated (we do not track)
293
300
294
301
for (auto & attribute : GlobalAttributesNotInMetadata)
295
302
{
You can’t perform that action at this time.
0 commit comments