diff --git a/src/python_testing/TC_TSTAT_4_2.py b/src/python_testing/TC_TSTAT_4_2.py index b2916c5914e38a..12aed0a460e63f 100644 --- a/src/python_testing/TC_TSTAT_4_2.py +++ b/src/python_testing/TC_TSTAT_4_2.py @@ -244,7 +244,7 @@ def steps_TC_TSTAT_4_2(self) -> list[TestStep]: @ async_test_body async def test_TC_TSTAT_4_2(self): - endpoint = self.user_params.get("endpoint", 1) + endpoint = self.matter_test_config.endpoint self.step("1") # Commission DUT - already done