Reproduction steps
The definition of step 7 in TC-TMP-2.1 within the test plan is to determine whether the Tolerance attribute is supported. If supported, read this attribute; if not supported, skip this step. However, the current judgment statement "if self.pics_guard("TMP.S.A0003"):" will always be true, causing errors in tests where this attribute is not supported.
Bug prevalence
When ever I do this
GitHub hash of the SDK that was being used
d42e9d6f2e58cc37e1a389aa2721d7df0a1c8b76
Platform
esp32
Platform Version(s)
1.5
Anything else?
******************************************************************
*
* Test test_TC_TMP_2_1 failed for the following reason:
* Details=Error reading <class 'matter.clusters.Objects.TemperatureMeasurement'>:<class 'matter.clusters.Objects.TemperatureMeasurement.Attributes.Tolerance'> = ValueDecodeFailure(TLVValue=None, Reason=InteractionModelError(<Status.UnsupportedAttribute: 134>)), Extras=None
*
* File "/usr/local/lib/python3.12/dist-packages/matter/testing/matter_testing.py", line 914, in read_single_attribute_check_success
* asserts.assert_true(read_ok, read_err_msg)
*
* Test step:
* 7: If the tolerance attribute is supported, TH reads the Tolerance attribute from the DUT Expected outcome: Verify that Tolerance is in the range of 0 to 2048
*
* Endpoint: 1
*
*******************************************************************
Reproduction steps
The definition of step 7 in TC-TMP-2.1 within the test plan is to determine whether the Tolerance attribute is supported. If supported, read this attribute; if not supported, skip this step. However, the current judgment statement "if self.pics_guard("TMP.S.A0003"):" will always be true, causing errors in tests where this attribute is not supported.
Bug prevalence
When ever I do this
GitHub hash of the SDK that was being used
d42e9d6f2e58cc37e1a389aa2721d7df0a1c8b76
Platform
esp32
Platform Version(s)
1.5
Anything else?