diff --git a/src/python_testing/TC_TSTAT_4_2.py b/src/python_testing/TC_TSTAT_4_2.py index 12aed0a460e63f..5cd4bc949e6c0a 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.matter_test_config.endpoint + endpoint = self.matter_test_config.endpoint if self.matter_test_config.endpoint is not None else 1 self.step("1") # Commission DUT - already done