Skip to content

Commit

Permalink
Update 1.4 using alchemy 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Jan 27, 2025
1 parent 68c825a commit 74d8ffd
Show file tree
Hide file tree
Showing 30 changed files with 349 additions and 109 deletions.
8 changes: 6 additions & 2 deletions data_model/1.4/clusters/ACL-Cluster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,18 @@ Davis, CA 95616, USA
<access fabricSensitive="true"/>
<quality nullable="true"/>
<mandatoryConform/>
<constraint type="maxCount" value="SubjectsPerAccessControlEntry"/>
<constraint type="maxCount">
<value attribute="SubjectsPerAccessControlEntry"/>
</constraint>
</field>
<field id="4" name="Targets" type="list">
<entry type="AccessControlTargetStruct"/>
<access fabricSensitive="true"/>
<quality nullable="true"/>
<mandatoryConform/>
<constraint type="maxCount" value="TargetsPerAccessControlEntry"/>
<constraint type="maxCount">
<value attribute="TargetsPerAccessControlEntry"/>
</constraint>
</field>
<access fabricScoped="true"/>
</struct>
Expand Down
16 changes: 12 additions & 4 deletions data_model/1.4/clusters/BallastConfiguration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,23 @@ Davis, CA 95616, USA
<access read="true" readPrivilege="view"/>
<optionalConform/>
</attribute>
<attribute id="0x0010" name="MinLevel" type="uint8" default="PhysicalMinLevel">
<attribute id="0x0010" name="MinLevel" type="uint8">
<default attribute="PhysicalMinLevel"/>
<access read="true" write="true" readPrivilege="view" writePrivilege="manage"/>
<mandatoryConform/>
<constraint type="between" from="PhysicalMinLevel" to="MaxLevel"/>
<constraint type="between">
<from attribute="PhysicalMinLevel"/>
<to attribute="MaxLevel"/>
</constraint>
</attribute>
<attribute id="0x0011" name="MaxLevel" type="uint8" default="PhysicalMaxLevel">
<attribute id="0x0011" name="MaxLevel" type="uint8">
<default attribute="PhysicalMaxLevel"/>
<access read="true" write="true" readPrivilege="view" writePrivilege="manage"/>
<mandatoryConform/>
<constraint type="between" from="MinLevel" to="PhysicalMaxLevel"/>
<constraint type="between">
<from attribute="MinLevel"/>
<to attribute="PhysicalMaxLevel"/>
</constraint>
</attribute>
<attribute id="0x0012" name="PowerOnLevel">
<deprecateConform/>
Expand Down
15 changes: 9 additions & 6 deletions data_model/1.4/clusters/ColorControl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,32 +263,32 @@ Davis, CA 95616, USA
<optionalConform/>
<constraint type="max" value="65534"/>
</attribute>
<attribute id="0x0003" name="CurrentX" type="uint16" default="24939 (0.381)">
<attribute id="0x0003" name="CurrentX" type="uint16" default="24939">
<access read="true" readPrivilege="view"/>
<quality scene="true" persistence="nonVolatile" reportable="true" quieterReporting="true"/>
<mandatoryConform>
<feature name="XY"/>
</mandatoryConform>
<constraint type="max" value="65279"/>
</attribute>
<attribute id="0x0004" name="CurrentY" type="uint16" default="24701 (0.377)">
<attribute id="0x0004" name="CurrentY" type="uint16" default="24701">
<access read="true" readPrivilege="view"/>
<quality scene="true" persistence="nonVolatile" reportable="true" quieterReporting="true"/>
<mandatoryConform>
<feature name="XY"/>
</mandatoryConform>
<constraint type="max" value="65279"/>
</attribute>
<attribute id="0x0005" name="DriftCompensation" type="DriftCompensationEnum" default="-">
<attribute id="0x0005" name="DriftCompensation" type="DriftCompensationEnum" default="">
<access read="true" readPrivilege="view"/>
<optionalConform/>
</attribute>
<attribute id="0x0006" name="CompensationText" type="string" default="-">
<attribute id="0x0006" name="CompensationText" type="string" default="">
<access read="true" readPrivilege="view"/>
<optionalConform/>
<constraint type="maxLength" value="254"/>
</attribute>
<attribute id="0x0007" name="ColorTemperatureMireds" type="uint16" default="250 (4000K)">
<attribute id="0x0007" name="ColorTemperatureMireds" type="uint16" default="250">
<access read="true" readPrivilege="view"/>
<quality scene="true" persistence="nonVolatile" reportable="true" quieterReporting="true"/>
<mandatoryConform>
Expand Down Expand Up @@ -687,7 +687,10 @@ Davis, CA 95616, USA
<attribute name="ColorTemperatureMireds"/>
</orTerm>
</mandatoryConform>
<constraint type="between" from="ColorTempPhysicalMinMireds" to="ColorTemperatureMireds"/>
<constraint type="between">
<from attribute="ColorTempPhysicalMinMireds"/>
<to attribute="ColorTemperatureMireds"/>
</constraint>
</attribute>
<attribute id="0x4010" name="StartUpColorTemperatureMireds" type="uint16" default="MS">
<access read="true" write="true" readPrivilege="view" writePrivilege="manage"/>
Expand Down
19 changes: 15 additions & 4 deletions data_model/1.4/clusters/ConcentrationMeasurement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ Davis, CA 95616, USA
<mandatoryConform>
<feature name="MEA"/>
</mandatoryConform>
<constraint type="between" from="MinMeasuredValue" to="MaxMeasuredValue"/>
<constraint type="between">
<from attribute="MinMeasuredValue"/>
<to attribute="MaxMeasuredValue"/>
</constraint>
</attribute>
<attribute id="0x0001" name="MinMeasuredValue" type="single" default="null">
<access read="true" readPrivilege="view"/>
Expand All @@ -202,15 +205,20 @@ Davis, CA 95616, USA
<mandatoryConform>
<feature name="MEA"/>
</mandatoryConform>
<constraint type="min" value="MinMeasuredValue"/>
<constraint type="min">
<value attribute="MinMeasuredValue"/>
</constraint>
</attribute>
<attribute id="0x0003" name="PeakMeasuredValue" type="single" default="null">
<access read="true" readPrivilege="view"/>
<quality nullable="true" reportable="true"/>
<mandatoryConform>
<feature name="PEA"/>
</mandatoryConform>
<constraint type="between" from="MinMeasuredValue" to="MaxMeasuredValue"/>
<constraint type="between">
<from attribute="MinMeasuredValue"/>
<to attribute="MaxMeasuredValue"/>
</constraint>
</attribute>
<attribute id="0x0004" name="PeakMeasuredValueWindow" type="elapsed-s" default="1">
<access read="true" readPrivilege="view"/>
Expand All @@ -226,7 +234,10 @@ Davis, CA 95616, USA
<mandatoryConform>
<feature name="AVG"/>
</mandatoryConform>
<constraint type="between" from="MinMeasuredValue" to="MaxMeasuredValue"/>
<constraint type="between">
<from attribute="MinMeasuredValue"/>
<to attribute="MaxMeasuredValue"/>
</constraint>
</attribute>
<attribute id="0x0006" name="AverageMeasuredValueWindow" type="elapsed-s" default="1">
<access read="true" readPrivilege="view"/>
Expand Down
2 changes: 1 addition & 1 deletion data_model/1.4/clusters/ContentControl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Davis, CA 95616, USA
<optionalConform/>
<constraint type="maxLength" value="6"/>
</field>
<field id="1" name="BonusTime" type="elapsed-s" default="300s">
<field id="1" name="BonusTime" type="elapsed-s" default="300">
<mandatoryConform/>
<constraint type="desc"/>
</field>
Expand Down
2 changes: 1 addition & 1 deletion data_model/1.4/clusters/ContentLauncher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Davis, CA 95616, USA
<field id="3" name="PlaybackPreferences" type="PlaybackPreferencesStruct" default="MS">
<optionalConform/>
</field>
<field id="4" name="UseCurrentContext" type="bool" default="TRUE">
<field id="4" name="UseCurrentContext" type="bool" default="true">
<optionalConform/>
<constraint type="desc"/>
</field>
Expand Down
4 changes: 3 additions & 1 deletion data_model/1.4/clusters/DeviceEnergyManagement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,9 @@ Davis, CA 95616, USA
<attribute id="0x0004" name="AbsMaxPower" type="power-mW" default="0">
<access read="true" readPrivilege="view"/>
<mandatoryConform/>
<constraint type="min" value="AbsMinPower"/>
<constraint type="min">
<value attribute="AbsMinPower"/>
</constraint>
</attribute>
<attribute id="0x0005" name="PowerAdjustmentCapability" type="PowerAdjustCapabilityStruct" default="null">
<access read="true" readPrivilege="view"/>
Expand Down
Loading

0 comments on commit 74d8ffd

Please sign in to comment.