diff --git a/onboarding_payload_test_suite/onboarding_script_support.py b/onboarding_payload_test_suite/onboarding_script_support.py index 252bcf0..88f2575 100644 --- a/onboarding_payload_test_suite/onboarding_script_support.py +++ b/onboarding_payload_test_suite/onboarding_script_support.py @@ -118,7 +118,7 @@ async def chip_tool_parse_onboarding_code(self, code_payload: str) -> ParsedPayl raise PayloadParsingError( f"Error decoding onboarding payload. Error {error}" ) - chip_tool.destroy_device() + await chip_tool.destroy_device() return parsed_payload def create_onboarding_code_payload_prompt(self, code_type: str) -> PromptRequest: