@@ -56,16 +56,11 @@ def record_warning(location, problem):
56
56
record_problem (location , problem , ProblemSeverity .WARNING )
57
57
58
58
ignore_attributes : dict [int , list [int ]] = {}
59
- ignore_features : dict [int , list [int ]] = {}
60
59
if ignore_in_progress :
61
60
# This is a manually curated list of attributes that are in-progress in the SDK, but have landed in the spec
62
61
in_progress_attributes = {Clusters .BasicInformation .id : [0x15 , 0x016 ],
63
62
Clusters .PowerSource .id : [0x20 , 0x21 , 0x22 , 0x23 , 0x24 , 0x25 , 0x26 , 0x27 , 0x28 , 0x29 , 0x2A ]}
64
63
ignore_attributes .update (in_progress_attributes )
65
- # The spec currently has an error on the power source features
66
- # This should be removed once https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/7823 lands
67
- in_progress_features = {Clusters .PowerSource .id : [(1 << 2 ), (1 << 3 ), (1 << 4 ), (1 << 5 )]}
68
- ignore_features .update (in_progress_features )
69
64
70
65
if is_ci :
71
66
# The network commissioning clusters on the CI select the features on the fly and end up non-conformant
@@ -116,15 +111,11 @@ def record_warning(location, problem):
116
111
if f not in self .xml_clusters [cluster_id ].features .keys ():
117
112
record_error (location = location , problem = f'Unknown feature with mask 0x{ f :02x} ' )
118
113
continue
119
- if cluster_id in ignore_features and f in ignore_features [cluster_id ]:
120
- continue
121
114
xml_feature = self .xml_clusters [cluster_id ].features [f ]
122
115
conformance_decision = xml_feature .conformance (feature_map , attribute_list , all_command_list )
123
116
if not conformance_allowed (conformance_decision , allow_provisional ):
124
117
record_error (location = location , problem = f'Disallowed feature with mask 0x{ f :02x} ' )
125
118
for feature_mask , xml_feature in self .xml_clusters [cluster_id ].features .items ():
126
- if cluster_id in ignore_features and feature_mask in ignore_features [cluster_id ]:
127
- continue
128
119
conformance_decision = xml_feature .conformance (feature_map , attribute_list , all_command_list )
129
120
if conformance_decision == ConformanceDecision .MANDATORY and feature_mask not in feature_masks :
130
121
record_error (
0 commit comments