diff --git a/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/delay_commands.py b/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/delay_commands.py index 0536dd2bfb4110..fdb949da9b1449 100644 --- a/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/delay_commands.py +++ b/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/delay_commands.py @@ -58,7 +58,7 @@ async def WaitForMs(self, request): duration_in_ms = argument['value'] sys.stdout.flush() - time.sleep(duration_in_ms / 1000) + time.sleep(int(duration_in_ms) / 1000) async def WaitForMessage(self, request): AccessoryServerBridge.waitForMessage(request)