diff --git a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
index 6c0d73d166aeef..2377c77a243df2 100644
--- a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
@@ -43,8 +43,8 @@ limitations under the License.
IdleModeInterval
- ActiveModeInterval
- ActiveModeThreshold
+ ActiveModeInterval
+ ActiveModeThreshold
RegisteredClients
diff --git a/src/python_testing/TC_ICDM_2_1.py b/src/python_testing/TC_ICDM_2_1.py
index 97d20fca723837..808a53403ebd88 100644
--- a/src/python_testing/TC_ICDM_2_1.py
+++ b/src/python_testing/TC_ICDM_2_1.py
@@ -51,8 +51,8 @@ async def test_TC_ICDM_2_1(self):
idleModeInterval *= 1000 # Convert seconds to milliseconds
activeModeInterval = await self.read_icdm_attribute_expect_success(endpoint=endpoint,
attribute=attributes.ActiveModeInterval)
- asserts.assert_greater_equal(activeModeInterval, 300,
- "ActiveModeInterval attribute is smaller than minimum value (300).")
+ asserts.assert_true(0 <= activeModeInterval <= 65535,
+ "ActiveModeInterval attribute does not fit in a uint16.")
asserts.assert_less_equal(activeModeInterval, idleModeInterval,
"ActiveModeInterval attribute is greater than the IdleModeInterval attrbiute.")
else:
@@ -64,8 +64,8 @@ async def test_TC_ICDM_2_1(self):
activeModeThreshold = await self.read_icdm_attribute_expect_success(endpoint=endpoint,
attribute=attributes.ActiveModeThreshold)
- asserts.assert_greater_equal(activeModeThreshold, 300,
- "ActiveModeThreshold attribute is smaller than minimum value (300).")
+ asserts.assert_true(0 <= activeModeThreshold <= 65535,
+ "ActiveModeThreshold attribute does not fit in a uint16.")
else:
asserts.assert_true(False, "ActiveModeThreshold is a mandatory attribute and must be present in the PICS file")