diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f93450b811b651..a0370261e34ccb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -141,6 +141,7 @@ jobs: src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml \ + src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/low-power-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml \ diff --git a/scripts/rules.matterlint b/scripts/rules.matterlint index e6f8b537c6a689..bf2b540d23cf8b 100644 --- a/scripts/rules.matterlint +++ b/scripts/rules.matterlint @@ -32,6 +32,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/low-power-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/matter-devices.xml"; diff --git a/src/app/zap-templates/zcl/data-model/all.xml b/src/app/zap-templates/zcl/data-model/all.xml index 594a9b8ba60392..12093a14df4b68 100644 --- a/src/app/zap-templates/zcl/data-model/all.xml +++ b/src/app/zap-templates/zcl/data-model/all.xml @@ -30,6 +30,7 @@ + diff --git a/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml new file mode 100644 index 00000000000000..c329dd965765ca --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Level Control + General + Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' + 0x0008 + LEVEL_CONTROL_CLUSTER + + true + true + + + + CurrentLevel + RemainingTime + MinLevel + MaxLevel + CurrentFrequency + MinFrequency + MaxFrequency + + OnOffTransitionTime + OnLevel + OnTransitionTime + OffTransitionTime + DefaultMoveRate + Options + + StartUpCurrentLevel + + + + + + + Command description for MoveToLevel + + + + + + + + + + Command description for Move + + + + + + + + + + Command description for Step + + + + + + + + + + + Command description for Stop + + + + + + + + Command description for MoveToLevelWithOnOff + + + + + + + + + + Command description for MoveWithOnOff + + + + + + + + + + Command description for StepWithOnOff + + + + + + + + + + + Command description for StopWithOnOff + + + + + + + + Change the currrent frequency to the provided one, or a close + approximation if the exact provided one is not possible. + + + + + diff --git a/src/app/zap-templates/zcl/data-model/silabs/general.xml b/src/app/zap-templates/zcl/data-model/silabs/general.xml index def0ab75410a85..be74cea9be56c8 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/general.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/general.xml @@ -37,112 +37,6 @@ limitations under the License. switch type switch actions - - Level Control - General - Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' - 0x0008 - LEVEL_CONTROL_CLUSTER - true - true - - CurrentLevel - RemainingTime - MinLevel - MaxLevel - CurrentFrequency - MinFrequency - MaxFrequency - - OnOffTransitionTime - OnLevel - OnTransitionTime - OffTransitionTime - DefaultMoveRate - Options - - StartUpCurrentLevel - - - - - - Command description for MoveToLevel - - - - - - - - - Command description for Move - - - - - - - - - Command description for Step - - - - - - - - - - Command description for Stop - - - - - - - Command description for MoveToLevelWithOnOff - - - - - - - - - Command description for MoveWithOnOff - - - - - - - - - Command description for StepWithOnOff - - - - - - - - - - Command description for StopWithOnOff - - - - - - - Change the currrent frequency to the provided one, or a close - approximation if the exact provided one is not possible. - - - - Binary Input (Basic) General diff --git a/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml b/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml index 2e4bd0a1a8e92c..571516eac006f8 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml @@ -119,16 +119,6 @@ limitations under the License. - - - - - - - - - - @@ -579,9 +569,4 @@ limitations under the License. - - - - - diff --git a/src/app/zap-templates/zcl/zcl-with-test-extensions.json b/src/app/zap-templates/zcl/zcl-with-test-extensions.json index 22488c9412ac7c..f82bcaecbfb3c5 100644 --- a/src/app/zap-templates/zcl/zcl-with-test-extensions.json +++ b/src/app/zap-templates/zcl/zcl-with-test-extensions.json @@ -46,6 +46,7 @@ "identify-cluster.xml", "illuminance-measurement-cluster.xml", "keypad-input-cluster.xml", + "level-control-cluster.xml", "localization-configuration-cluster.xml", "low-power-cluster.xml", "media-input-cluster.xml", diff --git a/src/app/zap-templates/zcl/zcl.json b/src/app/zap-templates/zcl/zcl.json index 7ec85cc0b3174b..11c0a1e837fda4 100644 --- a/src/app/zap-templates/zcl/zcl.json +++ b/src/app/zap-templates/zcl/zcl.json @@ -45,6 +45,7 @@ "identify-cluster.xml", "illuminance-measurement-cluster.xml", "keypad-input-cluster.xml", + "level-control-cluster.xml", "localization-configuration-cluster.xml", "low-power-cluster.xml", "media-input-cluster.xml",