Skip to content

Commit 6450af2

Browse files
Merge branch 'master' into fix/917_ncp_init
2 parents b284267 + c530e45 commit 6450af2

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

data_model/1.4/clusters/EcosystemInformationCluster.xml

+14
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,18 @@ Davis, CA 95616, USA
120120
<access fabricScoped="true"/>
121121
</struct>
122122
</dataTypes>
123+
<attributes>
124+
<attribute id="0x0000" name="DeviceDirectory" type="list">
125+
<entry type="EcosystemDeviceStruct"/>
126+
<access read="true" readPrivilege="manage" fabricScoped="true"/>
127+
<quality changeOmitted="false" nullable="false" scene="false" persistence="nonVolatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
128+
<mandatoryConform/>
129+
</attribute>
130+
<attribute id="0x0001" name="LocationDirectory" type="list">
131+
<entry type="EcosystemLocationStruct"/>
132+
<access read="true" readPrivilege="manage" fabricScoped="true"/>
133+
<quality changeOmitted="false" nullable="false" scene="false" persistence="nonVolatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
134+
<mandatoryConform/>
135+
</attribute>
136+
</attributes>
123137
</cluster>

data_model/1.4/spec_sha

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3d8fc9ae05045a53fdaffd7e3593f92a48b10e30
1+
21812107312887c416632ed6dd2399af1f077548

scripts/dm_xml_ci_change_enforcement.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ def check_dm_directory(dir):
3636

3737
def check_dir(dir):
3838
cmd = f'git diff HEAD^..HEAD --name-only -- {dir}'
39-
output = subprocess.check_output(cmd, shell=True).decode().splitlines()
39+
output = subprocess.check_output(cmd, shell=True).decode()
4040
if output and 'spec_sha' not in output and 'scraper_version' not in output:
4141
print(f'Data model directory {dir} had changes to the following files without a corresponding update to the spec SHA')
4242
print(output)
4343
print("Note that the data_model directory files are automatically updated by a spec scraper and should not be manually updated.")
4444
return 1
4545
return 0
4646

47-
ret = check_dir(clusters) + check_dir(device_types)
47+
ret = check_dir(dir)
4848
sys.exit(ret)
4949

5050

0 commit comments

Comments
 (0)