From 65fd0aaa5d31c3f470bf2e1c0528c9c9de943f5f Mon Sep 17 00:00:00 2001 From: lpbeliveau-silabs Date: Tue, 23 Jul 2024 18:18:48 -0400 Subject: [PATCH] Added scene integration test in level control cluster --- .../suites/certification/Test_TC_CC_10_1.yaml | 699 ++++++++++++++++-- 1 file changed, 649 insertions(+), 50 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_CC_10_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_10_1.yaml index 91b02e9e641dc4..ec71b2168795f2 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_10_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_10_1.yaml @@ -125,6 +125,7 @@ tests: - label: "Step 1d: TH reads ColorTempPhysicalMinMireds attribute from DUT" PICS: CC.S.A400b + cluster: "Color Control" command: "readAttribute" attribute: "ColorTempPhysicalMinMireds" response: @@ -136,6 +137,7 @@ tests: - label: "Step 1e: TH reads ColorTempPhysicalMaxMireds attribute from DUT." PICS: CC.S.A400c + cluster: "Color Control" command: "readAttribute" attribute: "ColorTempPhysicalMaxMireds" response: @@ -149,6 +151,7 @@ tests: "Step 2a: TH sends MoveToHueAndSaturation command to DUT with Hue=200, Saturation=50 and TransitionTime=0 (immediately)" PICS: CC.S.C06.Rsp + cluster: "Color Control" command: "MoveToHueAndSaturation" arguments: values: @@ -159,12 +162,22 @@ tests: - name: "TransitionTime" value: 0 - name: "OptionsMask" - value: 0 + value: 1 - name: "OptionsOverride" - value: 0 + value: 1 + + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 - label: "Step 2b: TH reads CurrentHue attribute from DUT" PICS: CC.S.A0000 + cluster: "Color Control" command: "readAttribute" attribute: "CurrentHue" response: @@ -174,6 +187,7 @@ tests: - label: "Step 2b1: TH reads CurrentSaturation attribute from DUT" PICS: CC.S.A0001 + cluster: "Color Control" command: "readAttribute" attribute: "CurrentSaturation" response: @@ -185,6 +199,7 @@ tests: "Step 2c: TH sends MoveToColor command to DUT, with ColorX = 32768/0x8000 ColorY = 19660/0x4CCC TransitionTime = 0 (immediate)" PICS: CC.S.C07.Rsp + cluster: "Color Control" command: "MoveToColor" arguments: values: @@ -195,12 +210,22 @@ tests: - name: "TransitionTime" value: 0 - name: "OptionsMask" - value: 0 + value: 1 - name: "OptionsOverride" - value: 0 + value: 1 + + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 - label: "Step 2d: TH reads CurrentX attribute from DUT" PICS: CC.S.A0003 + cluster: "Color Control" command: "readAttribute" attribute: "CurrentX" response: @@ -210,6 +235,7 @@ tests: - label: "Step 2d1: TH reads CurrentY attribute from DUT" PICS: CC.S.A0004 + cluster: "Color Control" command: "readAttribute" attribute: "CurrentY" response: @@ -222,6 +248,7 @@ tests: ColorTemperatureMireds=(ColorTempPhysicalMinMireds + ColorTempPhysicalMaxMireds)/2 and TransitionTime=0 (immediately)." PICS: CC.S.F04 && CC.S.C0a.Rsp + cluster: "Color Control" command: "MoveToColorTemperature" arguments: values: @@ -232,9 +259,9 @@ tests: - name: "TransitionTime" value: 0 - name: "OptionsMask" - value: 0 + value: 1 - name: "OptionsOverride" - value: 0 + value: 1 - label: "Wait 100ms" PICS: CC.S.F04 @@ -250,6 +277,7 @@ tests: 0x01 (up), Rate = (ColorTempPhysicalMaxMireds - ColorTempPhysicalMinMireds)/40" PICS: CC.S.F04 && CC.S.C4b.Rsp + cluster: "Color Control" command: MoveColorTemperature arguments: values: @@ -264,9 +292,9 @@ tests: - name: "ColorTemperatureMaximumMireds" value: ColorTempPhysicalMaxMiredsValue - name: "OptionsMask" - value: 0 + value: 1 - name: "OptionsOverride" - value: 0 + value: 1 - label: "Wait 10s" PICS: CC.S.F04 @@ -279,6 +307,7 @@ tests: - label: "Step 2g: TH reads ColorTemperatureMireds attribute from DUT." PICS: CC.S.F04 && CC.S.A0007 && CC.S.C4b.Rsp + cluster: "Color Control" command: "readAttribute" attribute: "ColorTemperatureMireds" response: @@ -290,6 +319,7 @@ tests: "Step 2h: TH sends EnhancedMoveToHueAndSaturation command to DUT with EnhancedHue=20000, Saturation=50 and TransitionTime=0 (immediately)" PICS: CC.S.F01 && CC.S.C43.Rsp + cluster: "Color Control" command: "EnhancedMoveToHueAndSaturation" arguments: values: @@ -300,9 +330,9 @@ tests: - name: "TransitionTime" value: 0 - name: "OptionsMask" - value: 0 + value: 1 - name: "OptionsOverride" - value: 0 + value: 1 - label: "Wait 100ms" PICS: CC.S.F01 @@ -315,15 +345,17 @@ tests: - label: "Step 2b: TH reads EnhancedCurrentHue attribute from DUT" PICS: CC.S.F01 && CC.S.A4000 + cluster: "Color Control" command: "readAttribute" attribute: "EnhancedCurrentHue" response: constraints: - minValue: 17000 - maxValue: 23000 + minValue: 18200 + maxValue: 21800 - - label: "TH reads CurrentSaturation attribute from DUT" + - label: "Step 2b1: TH reads CurrentSaturation attribute from DUT" PICS: CC.S.F01 && CC.S.A0001 + cluster: "Color Control" command: "readAttribute" attribute: "CurrentSaturation" response: @@ -350,15 +382,125 @@ tests: - name: "SceneID" value: 0x01 - - label: "Step 4: TH sends a AddScene command to DUT with the GroupID field - set to G1, the SceneID field set to 0x02, the TransitionTime field set - to 0 and the ExtensionFieldSets set to: '[{ ClusterID: 0x0008, - AttributeValueList: [{ AttributeID: 0x0000, ValueUnsigned8: 0x64 }]}]' - " + #Saturation + - label: "Step 4: TH sends a _ViewScene_ command to DUT with the _GroupID_ field set to _G~1~_ and the _SceneID_ field set to 0x01." + PICS: CC.S.C06.Rsp && CC.S.C07.Rsp && CC.S.C0a.Rsp && CC.S.C43.Rsp + command: "ViewScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x01 + response: + values: + - name: "Status" + value: 0x00 + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x01 + - name: "TransitionTime" + value: 0 + - name: "ExtensionFieldSets" + constraints: + type: list + contains: + [ + { + ClusterID: 0x0300, + AttributeValueList: + [ + { + AttributeID: 0x0003, + ValueUnsigned16: 32768 + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 19660 + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 20000, + }, + { + AttributeID: 0x0001, + ValueUnsigned8: 50 + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 0 + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 25 + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 48633 + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x03 + }, + ], + }, + ] + + # Note : There are too many possible combinations of the extension field sets depending on the supported features, so if they are not all supported, this step will be manual + - label: "Step 4_1: TH sends a _ViewScene_ command to DUT with the _GroupID_ field set to _G~1~_ and the _SceneID_ field set to 0x01." + PICS: PICS_SKIP_SAMPLE_APP && !CC.S.C06.Rsp || !CC.S.C07.Rsp || !CC.S.C0a.Rsp || !CC.S.C43.Rsp + verification: | + ./chip-tool scenesmanagement view-scene 0x0001 0x01 1 1 + + Verify DUT sends a ViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 1, the SceneID field set to 0x01, the TransitionTime field set to 0 and a set of extension fields appropriate to supported color control features. + Log and below is the sample log provided for the raspi platform: + + NOTE: The values below are expected to match the values from the specific AC tested + + [1707285444.028460][13682:13684] CHIP:DMG: }, + [1707285444.028553][13682:13684] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0001 + [1707285444.028579][13682:13684] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0001 + [1707285444.028670][13682:13684] CHIP:TOO: ViewSceneResponse: { + [1707285444.028685][13682:13684] CHIP:TOO: status: 0 + [1707285444.028696][13682:13684] CHIP:TOO: groupID: 257 + [1707285444.028706][13682:13684] CHIP:TOO: sceneID: 3 + [1707285444.028717][13682:13684] CHIP:TOO: transitionTime: 1 + [1707285444.028728][13682:13684] CHIP:TOO: sceneName: scene name + [1707285444.028766][13682:13684] CHIP:TOO: extensionFieldSets: 1 entries + [1707285444.028814][13682:13684] CHIP:TOO: [1]: { + [1707285444.028828][13682:13684] CHIP:TOO: ClusterID: 768 + [1707285444.028853][13682:13684] CHIP:TOO: AttributeValueList: 9 entries + [1707285444.028882][13682:13684] CHIP:TOO: [1]: { + [1707285444.028925][13682:13684] CHIP:TOO: } + [1707285444.028937][13682:13684] CHIP:TOO: } + [1707285444.028950][13682:13684] CHIP:TOO: } + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: + "Please execute the view-scene command and verify that the + extensionfieldsets, status, groupID and SceneID are in + accordance with the suppored features on DUT and enter 'y' if the command is + successful" + - name: "expectedValue" + value: "y" + + + #Saturation Scene + - label: "Step 5a: TH sends a _AddScene_ command to DUT with the _GroupID_ field set to _G~1~_, + the _SceneID_ field set to 0x02, the TransitionTime field set to 0 and the ExtensionFieldSets set to: + '[{ ClusterID: 0x0300, AttributeValueList: + [{ AttributeID: 0x4001, ValueUnsigned8: 0x00 }, + { AttributeID: 0x0001, ValueUnsigned8: 0xFE }]}]' " + PICS: CC.S.C03.Rsp command: "AddScene" - ## The default handlers for level control and on/off assume that if both clusters are in the same endpoint, - ## the levvel control cluster will use the onoff with level command and thus onoff will be turned on. - PICS: OO.S && LVL.S.C04.Rsp arguments: values: - name: "GroupID" @@ -368,14 +510,51 @@ tests: - name: "TransitionTime" value: 0 - name: "SceneName" - value: "Scene1" + value: "TestScene" - name: "ExtensionFieldSets" value: [ { - ClusterID: 0x0008, + ClusterID: 0x0300, AttributeValueList: - [{ AttributeID: 0x0000, ValueUnsigned8: 0x64 }], + [ + { + AttributeID: 0x0001, + ValueUnsigned8: 0xFE, + }, + { + AttributeID: 0x0003, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 0x00, + }, + ], }, ] response: @@ -388,9 +567,9 @@ tests: value: 0x02 - label: - "Step 5a: TH sends a RecallScene command to DUT with the GroupID field + "Step 5b: TH sends a RecallScene command to DUT with the GroupID field set to G1 and the SceneID field set to 0x02." - PICS: S.S.C05.Rsp + PICS: CC.S.C03.Rsp command: "RecallScene" arguments: values: @@ -399,46 +578,466 @@ tests: - name: "SceneID" value: 0x02 - - label: "Step 5b: after a few seconds, TH reads OnOff attribute from DUT" - PICS: LVL.S.C04.Rsp && LVL.S.A0000 - cluster: "On/Off" + - label: "Step 5c: TH reads CurrentSaturation attribute from DUT." + PICS: CC.S.A0001 && CC.S.C03.Rsp + cluster: "Color Control" command: "readAttribute" - attribute: "OnOff" + attribute: "CurrentSaturation" response: - value: 1 + constraints: + minValue: 0xF6 + maxValue: 0xFE + + + # XY Scene (Blue) + - label: "Step 6a: TH sends a _AddScene_ command to DUT with the _GroupID_ field set to _G~1~_, + the _SceneID_ field set to 0x03, the TransitionTime field set to 0 and the ExtensionFieldSets set to: + '[{ ClusterID: 0x0300, AttributeValueList: + [{ AttributeID: 0x4001, ValueUnsigned8: 0x01 }, + { AttributeID: 0x0003, ValueUnsigned16: 16334 }, + { AttributeID: 0x0004, ValueUnsigned16: 13067 }]}]'" + command: "AddScene" + PICS: CC.S.C07.Rsp + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x03 + - name: "TransitionTime" + value: 0 + - name: "SceneName" + value: "TestScene" + - name: "ExtensionFieldSets" + value: + [ + { + ClusterID: 0x0300, + AttributeValueList: + [ + { + AttributeID: 0x0001, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x0003, + ValueUnsigned16: 16334, + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 13067, + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x01, + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 0x00, + }, + ], + }, + ] + response: + values: + - name: "Status" + value: 0x00 + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x03 + + - label: + "Step 6b: TH sends a RecallScene command to DUT with the GroupID field + set to G1 and the SceneID field set to 0x02." + PICS: CC.S.C07.Rsp + command: "RecallScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x03 + + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 + + - label: "Step 6c: TH reads CurrentX attribute from DUT" + PICS: CC.S.A0003 && CC.S.C07.Rsp + cluster: "Color Control" + command: "readAttribute" + attribute: "CurrentX" + response: + constraints: + minValue: 14000 + maxValue: 18000 + + - label: "Step 6c1: TH reads CurrentY attribute from DUT" + PICS: CC.S.A0004 && CC.S.C07.Rsp + cluster: "Color Control" + command: "readAttribute" + attribute: "CurrentY" + response: + constraints: + minValue: 11000 + maxValue: 15000 + + # Temperature Scene + - label: "Step 7a: TH sends a _AddScene_ command to DUT with the _GroupID_ field set to _G~1~_, the _SceneID_ field set to 0x04, + the TransitionTime field set to 0 and the ExtensionFieldSets set to: + '[{ ClusterID: 0x0300, AttributeValueList: + [{ AttributeID: 0x4001, ValueUnsigned8: 0x02 }, + { AttributeID: 0x0007, ValueUnsigned16: 175 }]}]'" + PICS: CC.S.C0a.Rsp + command: "AddScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x04 + - name: "TransitionTime" + value: 0 + - name: "SceneName" + value: "TestScene" + - name: "ExtensionFieldSets" + value: + [ + { + ClusterID: 0x0300, + AttributeValueList: + [ + { + AttributeID: 0x0001, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x0003, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 175, + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x02, + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 0x00, + }, + ], + }, + ] + response: + values: + - name: "Status" + value: 0x00 + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x04 + + - label: + "Step 7b: TH sends a RecallScene command to DUT with the GroupID field + set to G1 and the SceneID field set to 0x02." + PICS: CC.S.C0a.Rsp + command: "RecallScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x04 - - label: "Step 5c: TH reads the CurrentLevel attribute from DUT" - PICS: LVL.S.C04.Rsp && LVL.S.A0000 - cluster: "Level Control" + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 + + - label: "Step 7c: TH reads ColorTemperatureMireds attribute from DUT." + PICS: CC.S.F04 && CC.S.A0007 && CC.S.C4b.Rsp + cluster: "Color Control" command: "readAttribute" - attribute: "CurrentLevel" + attribute: "ColorTemperatureMireds" response: - value: 0x64 + constraints: + minValue: ColorTempPhysicalMinMiredsValue + maxValue: ColorTempPhysicalMaxMiredsValue + + + # Enhanced Hue and saturation scene + - label: "Step 8a: TH sends a _AddScene_ command to DUT with the _GroupID_ field set to _G~1~_, the _SceneID_ field set to 0x05, + the TransitionTime field set to 0 and the ExtensionFieldSets set to: + '[{ ClusterID: 0x0300, AttributeValueList: [{ AttributeID: 0x4001, ValueUnsigned8: 0x03 }, + { AttributeID: 0x4000, ValueUnsigned16: 12000 }, + { AttributeID: 0x0001, ValueUnsigned16: 70 }]}]'" + PICS: CC.S.C0a.Rsp + command: "AddScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x05 + - name: "TransitionTime" + value: 0 + - name: "SceneName" + value: "TestScene" + - name: "ExtensionFieldSets" + value: + [ + { + ClusterID: 0x0300, + AttributeValueList: + [ + { + AttributeID: 0x0001, + ValueUnsigned8: 70, + }, + { + AttributeID: 0x0003, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 12000, + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x03, + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 0x00, + }, + ], + }, + ] + response: + values: + - name: "Status" + value: 0x00 + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x05 - label: - "Step 6a: TH sends a RecallScene command to DUT with the GroupID field - set to G1 and the SceneID field set to 0x01." - PICS: S.S.C05.Rsp + "Step 8b: TH sends a RecallScene command to DUT with the GroupID field + set to G1 and the SceneID field set to 0x02." + PICS: CC.S.C0a.Rsp command: "RecallScene" arguments: values: - name: "GroupID" value: G1 - name: "SceneID" - value: 0x01 + value: 0x05 - - label: "Step 6b: after a few seconds, TH reads OnOff attribute from DUT" - PICS: LVL.S.C04.Rsp && LVL.S.A0000 - cluster: "On/Off" + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 + + - label: "Step 8c: TH reads EnhancedCurrentHue attribute from DUT" + PICS: CC.S.F01 && CC.S.A4000 + cluster: "Color Control" + command: "readAttribute" + attribute: "EnhancedCurrentHue" + response: + constraints: + minValue: 10200 + maxValue: 13800 + + - label: "Step 8c1: TH reads CurrentSaturation attribute from DUT" + PICS: CC.S.F01 && CC.S.A0001 + command: "readAttribute" + cluster: "Color Control" + attribute: "CurrentSaturation" + response: + constraints: + minValue: 62 + maxValue: 78 + + # Color Loop scene + - label: "Step 9a: TH sends a _AddScene_ command to DUT with the _GroupID_ field set to _G~1~_, the _SceneID_ field set to 0x06, + the TransitionTime field set to 0 and the ExtensionFieldSets set to: + '[{ ClusterID: 0x0300, AttributeValueList: + [{ AttributeID: 0x4002, ValueUnsigned16: 1 }, + { AttributeID: 0x4002, ValueUnsigned16: 1 }, + { AttributeID: 0x4004, ValueUnsigned16: 5 }]}]'" + PICS: CC.S.C44.Rsp + command: "AddScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x06 + - name: "TransitionTime" + value: 0 + - name: "SceneName" + value: "TestScene" + - name: "ExtensionFieldSets" + value: + [ + { + ClusterID: 0x0300, + AttributeValueList: + [ + { + AttributeID: 0x0001, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x0003, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0004, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x0007, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4000, + ValueUnsigned16: 0x00, + }, + { + AttributeID: 0x4001, + ValueUnsigned8: 0x00, + }, + { + AttributeID: 0x4002, + ValueUnsigned8: 1, + }, + { + AttributeID: 0x4003, + ValueUnsigned8: 1, + }, + { + AttributeID: 0x4004, + ValueUnsigned16: 5, + }, + ], + }, + ] + response: + values: + - name: "Status" + value: 0x00 + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x06 + + - label: + "Step 9b: TH sends a RecallScene command to DUT with the GroupID field + set to G1 and the SceneID field set to 0x02." + PICS: CC.S.C44.Rsp + command: "RecallScene" + arguments: + values: + - name: "GroupID" + value: G1 + - name: "SceneID" + value: 0x06 + + - label: "Wait 100ms" + PICS: CC.S.F01 + cluster: "DelayCommands" + command: "WaitForMs" + arguments: + values: + - name: "ms" + value: 100 + + - label: "Step 9c: Read ColorLoopActive attribute from DUT" + command: "readAttribute" + cluster: "Color Control" + attribute: "ColorLoopActive" + PICS: CC.S.F01 && CC.S.F02 && CC.S.A4002 && CC.S.C44.Rsp + response: + value: 1 + + - label: "Step 9d: Read ColorLoopDirection attribute from DUT." command: "readAttribute" - attribute: "OnOff" + cluster: "Color Control" + attribute: "ColorLoopDirection" + PICS: CC.S.F01 && CC.S.F02 && CC.S.A4003 && CC.S.C44.Rsp response: - value: 0 + value: 1 - - label: "Step 6c: TH reads the CurrentLevel attribute from DUT" - PICS: LVL.S.C04.Rsp && LVL.S.A0000 - cluster: "Level Control" + - label: "Step 9e: Read ColorLoopTime attribute from DUT." command: "readAttribute" - attribute: "CurrentLevel" + cluster: "Color Control" + attribute: "ColorLoopTime" + PICS: CC.S.F01 && CC.S.F02 && CC.S.A4004 && CC.S.C44.Rsp response: - value: MinLevelValue + value: 5 \ No newline at end of file