You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Service Area Cluster, the following Attributes and Commands names need to be updated in the SDK to match the specification. Due to this mismatch, the Python script is failing for test cases TC-SEAR-1.2, 1.3, 1.4, 1.5, and 1.6.
Attributes:
supported-locations attribute name has to be updated to SupportedAreas.
selected-locations attribute name has to be updated to SelectedAreas.
current-location attribute name has to be CurrentArea
Commands:
select-locations command has to be updated to SelectAreas.
skip-current-location command has to be updated to SkipArea.
Names for the Attributes and Commands in chip-tool:
Python Script is failing with below error:
[MatterTest] 08-01 07:08:57.544 INFO ***** Test Step 1 : Run entire test
[MatterTest] 08-01 07:08:57.546 INFO ***** Test Step 1 : Commissioning, already done
[MatterTest] 08-01 07:08:57.546 INFO ***** Test Step 3 : Read SupportedAreas attribute
[MatterTest] 08-01 07:08:57.547 ERROR Exception occurred in test_TC_SEAR_1_2.
Traceback (most recent call last):
File "/home/ubuntu/master_CNTRL/connectedhomeip/no/lib/python3.10/site-packages/mobly/base_test.py", line 783, in exec_one_test
test_method()
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/matter_testing_support.py", line 1671, in async_runner
return _async_runner(body, self, *args, **kwargs)
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/matter_testing_support.py", line 1659, in _async_runner
return asyncio.run(runner_with_timeout)
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/TC_SEAR_1_2.py", line 223, in test_TC_SEAR_1_2
await self.read_and_validate_supported_areas(step=3)
File "/home/ubuntu/master_CNTRL/connectedhomeip/src/python_testing/TC_SEAR_1_2.py", line 78, in read_and_validate_supported_areas
endpoint=self.endpoint, attribute=Clusters.ServiceArea.Attributes.SupportedAreas)
AttributeError: type object 'Attributes' has no attribute 'SupportedAreas'
The text was updated successfully, but these errors were encountered:
Test Case
Reproduction steps
In the Service Area Cluster, the following Attributes and Commands names need to be updated in the SDK to match the specification. Due to this mismatch, the Python script is failing for test cases TC-SEAR-1.2, 1.3, 1.4, 1.5, and 1.6.
Attributes:
SupportedAreas.
SelectedAreas.
CurrentArea
Commands:
SelectAreas.
SkipArea.
Specification References:
Test plan References:
Names for the Attributes and Commands in chip-tool:
Python Script is failing with below error:
The text was updated successfully, but these errors were encountered: